Castle Game Engine: X3DCastleScript

# Unit X3DCastleScript
Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables
## Description CastleScript utilities for usage as VRML/X3D scripts. ## Uses X3DFields CastleScript CastleUtils CastleClassUtils X3DTime ## Overview ### Classes, Interfaces, Objects and Records
Name | Description
--- | ---
Class `TCasScriptX3DValueList` |
### Functions and Procedures
`function X3DCasScriptCreateValue(FieldOrEvent: TX3DFieldOrEvent): TCasScriptValue;`
`procedure X3DCasScriptBeforeExecute(Value: TCasScriptValue; FieldOrEvent: TX3DFieldOrEvent);`
`procedure X3DCasScriptAfterExecute(Value: TCasScriptValue; FieldOrEvent: TX3DFieldOrEvent; var LastEventTime: TX3DTime);`
## Description ### Functions and Procedures
`function X3DCasScriptCreateValue(FieldOrEvent: TX3DFieldOrEvent): TCasScriptValue;`
`procedure X3DCasScriptBeforeExecute(Value: TCasScriptValue; FieldOrEvent: TX3DFieldOrEvent);`
Do common things before VRML/X3D script with this variable is executed. This resets ValueAssigned (will be used in AfterExecute), and sets current variable's value from FieldOrEvent (if this is a field).
`procedure X3DCasScriptAfterExecute(Value: TCasScriptValue; FieldOrEvent: TX3DFieldOrEvent; var LastEventTime: TX3DTime);`
Do common things after VRML/X3D script with this variable is executed. This checks ValueAssigned, and propagates value change to appropriate field/event, sending event/setting field.
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:13