Class THAnimHumanoidNode
Unit
Declaration
type THAnimHumanoidNode = class(TAbstractChildNode)
Description
Central node for moving the animated humanoid. It contains the skeleton, and other information necessary for animation.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- THAnimHumanoidNode
Overview
Methods
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
procedure AfterTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
procedure ParseAfter(Reader: TX3DReaderNames); override; |
|
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
|
destructor Destroy; override; |
|
function TransformationChange: TNodeTransformationChange; override; |
|
function AnimateSkin: TMFVec3f; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
|
procedure SetInfo(const Value: array of string); overload; |
|
procedure SetInfo(const Value: TCastleStringList); overload; |
|
procedure SetJoints(const Value: array of THAnimJointNode); |
|
procedure SetJointBindingPositions(const Value: array of TVector3); overload; |
|
procedure SetJointBindingPositions(const Value: TVector3List); overload; |
|
procedure SetJointBindingRotations(const Value: array of TVector4); overload; |
|
procedure SetJointBindingRotations(const Value: TVector4List); overload; |
|
procedure SetJointBindingScales(const Value: array of TVector3); overload; |
|
procedure SetJointBindingScales(const Value: TVector3List); overload; |
|
procedure SetMotions(const Value: array of THAnimMotionNode); |
|
procedure SetMotionsEnabled(const Value: array of boolean); overload; |
|
procedure SetMotionsEnabled(const Value: TBooleanList); overload; |
|
procedure SetSegments(const Value: array of THAnimSegmentNode); |
|
procedure SetSites(const Value: array of THAnimSiteNode); |
|
procedure SetSkeleton(const Value: array of TX3DNode); |
|
procedure SetSkin(const Value: array of TAbstractChildNode); |
|
procedure SetViewpoints(const Value: array of TX3DNode); |
Properties
property FdCenter: TSFVec3f read FFdCenter; |
|
property Center: TVector3 read GetCenter write SetCenter; |
|
property FdDescription: TSFString read FFdDescription; |
|
property Description: String read GetDescription write SetDescription; |
|
property FdInfo: TMFString read FFdInfo; |
|
property FdJoints: TMFNode read FFdJoints; |
|
property FdJointBindingPositions: TMFVec3f read FFdJointBindingPositions; |
|
property FdJointBindingRotations: TMFRotation read FFdJointBindingRotations; |
|
property FdJointBindingScales: TMFVec3f read FFdJointBindingScales; |
|
property FdLoa: TSFInt32 read FFdLoa; |
|
property Loa: Integer read GetLoa write SetLoa; |
|
property FdMotions: TMFNode read FFdMotions; |
|
property FdMotionsEnabled: TMFBool read FFdMotionsEnabled; |
|
property FdName: TSFString read FFdName; |
|
property NameField: String read GetNameField write SetNameField; |
|
property FdRotation: TSFRotation read FFdRotation; |
|
property Rotation: TVector4 read GetRotation write SetRotation; |
|
property FdScale: TSFVec3f read FFdScale; |
|
property Scale: TVector3 read GetScale write SetScale; |
|
property FdScaleOrientation: TSFRotation read FFdScaleOrientation; |
|
property ScaleOrientation: TVector4 read GetScaleOrientation write SetScaleOrientation; |
|
property FdSegments: TMFNode read FFdSegments; |
|
property FdSites: TMFNode read FFdSites; |
|
property FdSkeletalConfiguration: TSFString read FFdSkeletalConfiguration; |
|
property SkeletalConfiguration: String read GetSkeletalConfiguration write SetSkeletalConfiguration; |
|
property FdSkeleton: TMFNode read FFdSkeleton; |
|
property FdSkin: TMFNode read FFdSkin; |
|
property FdSkinBindingCoord: TSFNode read FFdSkinBindingCoord; |
|
property SkinBindingCoord: TAbstractCoordinateNode read GetSkinBindingCoord write SetSkinBindingCoord; |
|
property FdSkinBindingNormal: TSFNode read FFdSkinBindingNormal; |
|
property SkinBindingNormal: TAbstractNormalNode read GetSkinBindingNormal write SetSkinBindingNormal; |
|
property FdSkinCoord: TSFNode read FFdSkinCoord; |
|
property FdSkinNormal: TSFNode read FFdSkinNormal; |
|
property SkinNormal: TAbstractNormalNode read GetSkinNormal write SetSkinNormal; |
|
property FdTranslation: TSFVec3f read FFdTranslation; |
|
property Translation: TVector3 read GetTranslation write SetTranslation; |
|
property FdVersion: TSFString read FFdVersion; |
|
property Version: String read GetVersion write SetVersion; |
|
property FdViewpoints: TMFNode read FFdViewpoints; |
|
property FdBboxCenter: TSFVec3f read FFdBboxCenter; |
|
property BBox: TBox3D read GetBBox write SetBBox; |
|
property FdBboxSize: TSFVec3f read FFdBboxSize; |
Description
Methods
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
This item has no description. Showing description inherited from TX3DNode.DirectEnumerateActive. Enumerate all active child nodes of given node. "Active nodes" are the ones affecting current look or collisions, e.g. from Switch node only one child will be enumerated. See Traverse for more precise definition. "Direct" means that this enumerates only direct descendants, i.e. this is not recursive. See methods like Traverse or EnumerateNodes if you want recursive behavior. This can enumerate both VRML1Children nodes and nodes within TSFNode and TMFNode fields. Default implementation in this class enumerates all Children nodes of VRML 1.0. If you need to remove some children for VRML 1.0 (e.g. for Switch or LOD nodes) or add some children for VRML 2.0 you have to override this. You do not need to call inherited when overriding this — in fact, you should not, if you want to omit some nodes. Stops and returns immediately if Func returns non-nil for some child. |
procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
This item has no description. Showing description inherited from TX3DNode.BeforeTraverse. Override these methods to determine what happens when given node is traversed during Traverse call. The main use of this is to operate on TX3DGraphTraverseStateStack. Remember to always call inherited when overriding. In Besides changing StateStack.Top fields, you can do push/pop on the stack. Remember that if you do StateStack.Push in |
procedure AfterTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
This item has no description. |
procedure ParseAfter(Reader: TX3DReaderNames); override; |
|
This item has no description. Showing description inherited from TX3DNode.ParseAfter. Called at the end of parsing this node (including children) in any encoding. |
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
|
This item has no description. Showing description inherited from TX3DNode.Create. Constructor. Initializes various properties:
|
destructor Destroy; override; |
|
This item has no description. |
function TransformationChange: TNodeTransformationChange; override; |
|
This item has no description. |
function AnimateSkin: TMFVec3f; |
|
Change the skin (in skinCoord), to follow the animation of joints. Joints that changed are assumed to be already traversed by TX3DNode.Traverse (this prepares field values for AnimateSkinPoint call). This method is used by TCastleSceneCore. Don't call this yourself. Returns changed X3D coordinates field (or |
procedure CreateNode; override; |
|
Create node fields and events. |
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. |
procedure SetInfo(const Value: array of string); overload; |
|
This item has no description. |
procedure SetInfo(const Value: TCastleStringList); overload; |
|
This item has no description. |
procedure SetJoints(const Value: array of THAnimJointNode); |
|
This item has no description. |
procedure SetJointBindingPositions(const Value: array of TVector3); overload; |
|
This item has no description. |
procedure SetJointBindingPositions(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetJointBindingRotations(const Value: array of TVector4); overload; |
|
This item has no description. |
procedure SetJointBindingRotations(const Value: TVector4List); overload; |
|
This item has no description. |
procedure SetJointBindingScales(const Value: array of TVector3); overload; |
|
This item has no description. |
procedure SetJointBindingScales(const Value: TVector3List); overload; |
|
This item has no description. |
procedure SetMotions(const Value: array of THAnimMotionNode); |
|
This item has no description. |
procedure SetMotionsEnabled(const Value: array of boolean); overload; |
|
This item has no description. |
procedure SetMotionsEnabled(const Value: TBooleanList); overload; |
|
This item has no description. |
procedure SetSegments(const Value: array of THAnimSegmentNode); |
|
This item has no description. |
procedure SetSites(const Value: array of THAnimSiteNode); |
|
This item has no description. |
procedure SetSkeleton(const Value: array of TX3DNode); |
|
This item has no description. |
procedure SetSkin(const Value: array of TAbstractChildNode); |
|
This item has no description. |
procedure SetViewpoints(const Value: array of TX3DNode); |
|
This item has no description. |
Properties
property FdCenter: TSFVec3f read FFdCenter; |
|
Internal wrapper for property |
property Center: TVector3 read GetCenter write SetCenter; |
|
This item has no description. |
property FdDescription: TSFString read FFdDescription; |
|
Internal wrapper for property |
property Description: String read GetDescription write SetDescription; |
|
This item has no description. |
property FdInfo: TMFString read FFdInfo; |
|
Internal wrapper for property |
property FdJoints: TMFNode read FFdJoints; |
|
Internal wrapper for property |
property FdJointBindingPositions: TMFVec3f read FFdJointBindingPositions; |
|
Internal wrapper for property |
property FdJointBindingRotations: TMFRotation read FFdJointBindingRotations; |
|
Internal wrapper for property |
property FdJointBindingScales: TMFVec3f read FFdJointBindingScales; |
|
Internal wrapper for property |
property FdLoa: TSFInt32 read FFdLoa; |
|
Internal wrapper for property |
property Loa: Integer read GetLoa write SetLoa; |
|
This item has no description. |
property FdMotions: TMFNode read FFdMotions; |
|
Internal wrapper for property |
property FdMotionsEnabled: TMFBool read FFdMotionsEnabled; |
|
Internal wrapper for property |
property FdName: TSFString read FFdName; |
|
Internal wrapper for property |
property NameField: String read GetNameField write SetNameField; |
|
This item has no description. |
property FdRotation: TSFRotation read FFdRotation; |
|
Internal wrapper for property |
property Rotation: TVector4 read GetRotation write SetRotation; |
|
This item has no description. |
property FdScale: TSFVec3f read FFdScale; |
|
Internal wrapper for property |
property Scale: TVector3 read GetScale write SetScale; |
|
This item has no description. |
property FdScaleOrientation: TSFRotation read FFdScaleOrientation; |
|
Internal wrapper for property |
property ScaleOrientation: TVector4 read GetScaleOrientation write SetScaleOrientation; |
|
This item has no description. |
property FdSegments: TMFNode read FFdSegments; |
|
Internal wrapper for property |
property FdSites: TMFNode read FFdSites; |
|
Internal wrapper for property |
property FdSkeletalConfiguration: TSFString read FFdSkeletalConfiguration; |
|
Internal wrapper for property |
property SkeletalConfiguration: String read GetSkeletalConfiguration write SetSkeletalConfiguration; |
|
This item has no description. |
property FdSkeleton: TMFNode read FFdSkeleton; |
|
Internal wrapper for property |
property FdSkin: TMFNode read FFdSkin; |
|
Internal wrapper for property |
property FdSkinBindingCoord: TSFNode read FFdSkinBindingCoord; |
|
Internal wrapper for property |
property SkinBindingCoord: TAbstractCoordinateNode read GetSkinBindingCoord write SetSkinBindingCoord; |
|
This item has no description. |
property FdSkinBindingNormal: TSFNode read FFdSkinBindingNormal; |
|
Internal wrapper for property |
property SkinBindingNormal: TAbstractNormalNode read GetSkinBindingNormal write SetSkinBindingNormal; |
|
This item has no description. |
property FdSkinCoord: TSFNode read FFdSkinCoord; |
|
Internal wrapper for property |
property FdSkinNormal: TSFNode read FFdSkinNormal; |
|
Internal wrapper for property |
property SkinNormal: TAbstractNormalNode read GetSkinNormal write SetSkinNormal; |
|
This item has no description. |
property FdTranslation: TSFVec3f read FFdTranslation; |
|
Internal wrapper for property |
property Translation: TVector3 read GetTranslation write SetTranslation; |
|
This item has no description. |
property FdVersion: TSFString read FFdVersion; |
|
Internal wrapper for property |
property Version: String read GetVersion write SetVersion; |
|
This item has no description. |
property FdViewpoints: TMFNode read FFdViewpoints; |
|
Internal wrapper for property |
property FdBboxCenter: TSFVec3f read FFdBboxCenter; |
|
Internal wrapper for property |
property BBox: TBox3D read GetBBox write SetBBox; |
|
This item has no description. |
property FdBboxSize: TSFVec3f read FFdBboxSize; |
|
Internal wrapper for property |
Generated by PasDoc 0.16.0-snapshot.