Class TCastleConfigScriptHelper

Unit

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

Public function GetFloatExpression(const APath: string; const ADefaultValue: Float): Float;
Public function GetFloatExpression(const APath: string; const ADefaultValue: string): Float;
Public function GetFloatExpression(const APath: string): Float;
Public function GetIntExpression(const APath: string; const ADefaultValue: Int64): Int64;
Public function GetIntExpression(const APath: string; const ADefaultValue: string): Int64;
Public function GetIntExpression(const APath: string): Int64;

Description

Methods

Public 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)".

Public function GetFloatExpression(const APath: string; const ADefaultValue: string): Float;
 
Public function GetFloatExpression(const APath: string): Float;
 
Public function GetIntExpression(const APath: string; const ADefaultValue: Int64): Int64;

Read an integer expression composed in CastleScript, like "123" or "3 * 2 + 5".

Public function GetIntExpression(const APath: string; const ADefaultValue: string): Int64;
 
Public function GetIntExpression(const APath: string): Int64;
 

Generated by PasDoc 0.16.0.