Class TSFBoolEvent
Unit
X3DFields
Declaration
type TSFBoolEvent = class(TX3DEvent)
Description
TX3DEvent descendants with comfortable Send methods.
Note that it is *not* necessary to use the descendants below to send events. You can also use TX3DEvent class (not any descendant of it), if only you set it's TX3DEvent.FieldClass right (to any concrete X3D field class, like TSFFloat). So using e.g. TSFFloatEvent is just a convenience shortcut.
These descendants only add easy Send methods, that can be type-checked at compile-time. They are all just shortcuts for calling the Send(TX3DField, TX3DTime) method. They create a temporary instance of TX3DField for this purpose (with field name equal to event name, this is useful for debugging — e.g. by Logger node).
Hierarchy
Overview
Methods
|
constructor Create(AParentNode: TX3DFileItem; const AName: String; const AInEvent: boolean); |
|
procedure Send(const Value: boolean; const Time: TX3DTime; const PartialSend: TPartialSend = nil); overload; |
|
procedure Send(const Value: boolean); overload; |
Description
Methods
|
constructor Create(AParentNode: TX3DFileItem; const AName: String; const AInEvent: boolean); |
This item has no description. |
|
procedure Send(const Value: boolean; const Time: TX3DTime; const PartialSend: TPartialSend = nil); overload; |
This item has no description. |
|
procedure Send(const Value: boolean); overload; |
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.