Class THAnimMotionNode

Unit

Declaration

type THAnimMotionNode = class(TAbstractChildNode)

Description

Motion animation of humanoid (THAnimHumanoidNode) characters. Raw motion data, for example, motion capture data, details the number of frames, the frame display time, and the parameter values for the motion from each channel at each frame.

This note is not (yet) implemented in Castle Game Engine. We parse it, but we don't act on the information in any way.

Hierarchy

Overview

Methods

Protected function DefaultContainerFieldInContext(const Version: TX3DVersion; const ParentNode: TX3DNode): String; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;
Public procedure SetChannelsEnabled(const Value: array of boolean); overload;
Public procedure SetChannelsEnabled(const Value: TBooleanList); overload;
Public procedure SetValues(const Value: array of Single); overload;
Public procedure SetValues(const Value: TSingleList); overload;

Properties

Public property EventNext: TSFBoolEvent read FEventNext;
Public property EventPrevious: TSFBoolEvent read FEventPrevious;
Public property FdChannels: TSFString read FFdChannels;
Public property Channels: String read GetChannels write SetChannels;
Public property FdChannelsEnabled: TMFBool read FFdChannelsEnabled;
Public property FdDescription: TSFString read FFdDescription;
Public property Description: String read GetDescription write SetDescription;
Public property FdEnabled: TSFBool read FFdEnabled;
Public property Enabled: Boolean read GetEnabled write SetEnabled;
Public property FdEndFrame: TSFInt32 read FFdEndFrame;
Public property EndFrame: Integer read GetEndFrame write SetEndFrame;
Public property FdFrameDuration: TSFTime read FFdFrameDuration;
Public property FrameDuration: TFloatTime read GetFrameDuration write SetFrameDuration;
Public property FdFrameIncrement: TSFInt32 read FFdFrameIncrement;
Public property FrameIncrement: Integer read GetFrameIncrement write SetFrameIncrement;
Public property FdFrameIndex: TSFInt32 read FFdFrameIndex;
Public property FrameIndex: Integer read GetFrameIndex write SetFrameIndex;
Public property FdJoints: TSFString read FFdJoints;
Public property Joints: String read GetJoints write SetJoints;
Public property FdLoa: TSFInt32 read FFdLoa;
Public property Loa: Integer read GetLoa write SetLoa;
Public property FdLoop: TSFBool read FFdLoop;
Public property Loop: Boolean read GetLoop write SetLoop;
Public property FdName: TSFString read FFdName;
Public property NameField: String read GetNameField write SetNameField;
Public property FdStartFrame: TSFInt32 read FFdStartFrame;
Public property StartFrame: Integer read GetStartFrame write SetStartFrame;
Public property FdValues: TMFFloat read FFdValues;
Public property EventCycleTime: TSFTimeEvent read FEventCycleTime;
Public property EventElapsedTime: TSFTimeEvent read FEventElapsedTime;
Public property EventFrameCount: TSFInt32Event read FEventFrameCount;

Description

Methods

Protected function DefaultContainerFieldInContext(const Version: TX3DVersion; const ParentNode: TX3DNode): String; override;

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

Use this instead of DefaultContainerField to account that containerField may change depending on X3D version (like containerField of metadata nodes, changed between X3D 3 and 4) or parent node (like containerField of HAnimMotion). ParentNode may be Nil when it is at root.

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.

Public procedure SetChannelsEnabled(const Value: array of boolean); overload;

This item has no description.

Public procedure SetChannelsEnabled(const Value: TBooleanList); overload;

This item has no description.

Public procedure SetValues(const Value: array of Single); overload;

This item has no description.

Public procedure SetValues(const Value: TSingleList); overload;

This item has no description.

Properties

Public property EventNext: TSFBoolEvent read FEventNext;

This item has no description.

Public property EventPrevious: TSFBoolEvent read FEventPrevious;

This item has no description.

Public property FdChannels: TSFString read FFdChannels;

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

Public property Channels: String read GetChannels write SetChannels;

This item has no description.

Public property FdChannelsEnabled: TMFBool read FFdChannelsEnabled;

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

Public property FdDescription: TSFString read FFdDescription;

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

Public property Description: String read GetDescription write SetDescription;

This item has no description.

Public property FdEnabled: TSFBool read FFdEnabled;

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

Public property Enabled: Boolean read GetEnabled write SetEnabled;

This item has no description.

Public property FdEndFrame: TSFInt32 read FFdEndFrame;

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

Public property EndFrame: Integer read GetEndFrame write SetEndFrame;

This item has no description.

Public property FdFrameDuration: TSFTime read FFdFrameDuration;

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

Public property FrameDuration: TFloatTime read GetFrameDuration write SetFrameDuration;

This item has no description.

Public property FdFrameIncrement: TSFInt32 read FFdFrameIncrement;

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

Public property FrameIncrement: Integer read GetFrameIncrement write SetFrameIncrement;

This item has no description.

Public property FdFrameIndex: TSFInt32 read FFdFrameIndex;

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

Public property FrameIndex: Integer read GetFrameIndex write SetFrameIndex;

This item has no description.

Public property FdJoints: TSFString read FFdJoints;

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

Public property Joints: String read GetJoints write SetJoints;

This item has no description.

Public property FdLoa: TSFInt32 read FFdLoa;

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

Public property Loa: Integer read GetLoa write SetLoa;

This item has no description.

Public property FdLoop: TSFBool read FFdLoop;

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

Public property Loop: Boolean read GetLoop write SetLoop;

This item has no description.

Public property FdName: TSFString read FFdName;

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

Public property NameField: String read GetNameField write SetNameField;

This item has no description.

Public property FdStartFrame: TSFInt32 read FFdStartFrame;

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

Public property StartFrame: Integer read GetStartFrame write SetStartFrame;

This item has no description.

Public property FdValues: TMFFloat read FFdValues;

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

Public property EventCycleTime: TSFTimeEvent read FEventCycleTime;

This item has no description.

Public property EventElapsedTime: TSFTimeEvent read FEventElapsedTime;

This item has no description.

Public property EventFrameCount: TSFInt32Event read FEventFrameCount;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.