Class TCastleConfigScriptHelper
Unit
CastleScriptXML
Declaration
type TCastleConfigScriptHelper = class helper(TCastleConfigKeysMouseHelper) for TCastleConfig
Description
Class helper to read CastleScript expressions from XML config files. Use this unit, and then you can call powerful GetFloatExpression instead of TCastleConfig.GetFloat.
Hierarchy
Overview
Methods
Description
Methods
 |
function GetFloatExpression(const APath: string; const ADefaultValue: Float): Float; |
Read a float expression composed in CastleScript, like "123.0" or "3.0 * 2.0" or "sin(2.0)" .
|
 |
function GetFloatExpression(const APath: string; const ADefaultValue: string): Float; |
|
 |
function GetFloatExpression(const APath: string): Float; |
|
 |
function GetIntExpression(const APath: string; const ADefaultValue: Int64): Int64; |
Read an integer expression composed in CastleScript, like "123" or "3 * 2 + 5" .
|
 |
function GetIntExpression(const APath: string; const ADefaultValue: string): Int64; |
|
 |
function GetIntExpression(const APath: string): Int64; |
|
Generated by PasDoc 0.16.0.