Class TScriptNode

Unit

Declaration

type TScriptNode = class(TAbstractScriptNode)

Description

Program behavior in a scene using scripts.

Hierarchy

Overview

Methods

Public procedure PostAddInterfaceDeclaration(IDecl: TX3DInterfaceDeclaration); override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;

Properties

Public property FdDirectOutput: TSFBool read FFdDirectOutput;
Public property DirectOutput: Boolean read GetDirectOutput write SetDirectOutput;
Public property FdMustEvaluate: TSFBool read FFdMustEvaluate;
Public property MustEvaluate: Boolean read GetMustEvaluate write SetMustEvaluate;

Description

Methods

Public procedure PostAddInterfaceDeclaration(IDecl: TX3DInterfaceDeclaration); override;

This item has no description. Showing description inherited from TX3DNode.PostAddInterfaceDeclaration.

This will be always called by VRML parsers after adding new item to our InterfaceDeclarations.

In this class, this simply adds IDecl.FieldOrEvent to our normal fields/events by IDecl.AddFieldOrEvent. You may override this in subclasses to react in some special way to new fields/events, for example Script node may register here to receive notification when input event is received.

Public procedure CreateNode; override;

Create node fields and events.

Public class function ClassX3DType: String; override;

This item has no description. Showing description inherited from TX3DNode.ClassX3DType.

Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value.

Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there.

You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance.

Properties

Public property FdDirectOutput: TSFBool read FFdDirectOutput;

Internal wrapper for property DirectOutput. This wrapper API may change, we advise to access simpler DirectOutput instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property DirectOutput: Boolean read GetDirectOutput write SetDirectOutput;

This item has no description.

Public property FdMustEvaluate: TSFBool read FFdMustEvaluate;

Internal wrapper for property MustEvaluate. This wrapper API may change, we advise to access simpler MustEvaluate instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property MustEvaluate: Boolean read GetMustEvaluate write SetMustEvaluate;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.