Unit X3DCastleScript

Description

CastleScript utilities for usage as VRML/X3D scripts.

Uses

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; const Time: 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; const Time: 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.16.0.