Castle Game Engine: X3DNodes: Class TAbstractSequencerNode

# Class TAbstractSequencerNode
Description | Hierarchy | Fields | Methods | Properties
## Unit X3DNodes ## Declaration `type TAbstractSequencerNode = class(TAbstractChildNode)` ## Description no description available, TAbstractChildNode description follows no description available, TAbstractNode description follows Base X3D node. Almost all X3D nodes inherit from this. (Exception: X3DMetadataObject. So you cannot have metadata of metadata of...) ## Hierarchy TPersistent TNonRefCountedInterfacedPersistent TX3DFileItem TX3DNode TAbstractNode TAbstractChildNode TAbstractSequencerNode ## Overview ### Methods
| `function KeyRange(const Fraction: Single): Integer;`
| `procedure SetCurrentKeyRange(const Value: Integer; const Time: TX3DTime);`
| `procedure SendValueChanged(const ValueIndex: Integer; const Time: TX3DTime); virtual; abstract;`
| `procedure CreateNode; override;`
### Properties
| `property CurrentKeyRange: Integer read FCurrentKeyRange;`
| `property EventNext: TSFBoolEvent read FEventNext;`
| `property EventPrevious: TSFBoolEvent read FEventPrevious;`
| `property EventSet_fraction: TSFFloatEvent read FEventSet_fraction;`
| `property FdKey: TMFFloat read FFdKey;`
| `property FdForceContinousValue_Changed: TSFBool read FFdForceContinousValue_Changed;`
## Description ### Methods
| `function KeyRange(const Fraction: Single): Integer;`
Analogous to TAbstractInterpolatorNode.KeyRange.
| `procedure SetCurrentKeyRange(const Value: Integer; const Time: TX3DTime);`
| `procedure SendValueChanged(const ValueIndex: Integer; const Time: TX3DTime); virtual; abstract;`
Override this is descendants to actually send value_changed event witk keyValue[ValueIndex]. You are guaranteed that ValueIndex is between 0 and FdKey.Count - 1, but you have to check yourself whether it's also between 0 and FdKeyValue.Count - 1 (although spec requires that key and keyValue fields have the same size, we have to protect against invalid files).
| `procedure CreateNode; override;`
### Properties
| `property CurrentKeyRange: Integer read FCurrentKeyRange;`
In what key range we currently are. In other words, which keyValue was last send (passed to SendValueChanged). We have to keep track of this information, per each node, as specification clearly says that value_changed should not be generated continously on each set_fraction, but only when value actually changes. (Although we make an exception for this with our extension FdForceContinousValue_Changed). Valid values here are between -1 and FdKey.Count - 1. Values between 0 and FdKey.Count - 1 indicate which keyValue was last send. Value -1 means that SendValueChanged was not yet called, this is the default value (after construction).
| `property EventNext: TSFBoolEvent read FEventNext;`
| `property EventPrevious: TSFBoolEvent read FEventPrevious;`
| `property EventSet_fraction: TSFFloatEvent read FEventSet_fraction;`
| `property FdKey: TMFFloat read FFdKey;`
| `property FdForceContinousValue_Changed: TSFBool read FFdForceContinousValue_Changed;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:16