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;

This item has no description.

Public function GetFloatExpression(const APath: string): Float;

This item has no description.

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;

This item has no description.

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

This item has no description.


Generated by PasDoc 0.16.0-snapshot.