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.
Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 42).
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; |
![]() |
procedure InternalUpdateSkin; |
![]() |
procedure FixJoints; |
![]() |
procedure ApplyRestPose; |
![]() |
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. Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 58). | |
![]() |
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 Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 59). | |
![]() |
procedure AfterTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
This item has no description. Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 60). | |
![]() |
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. Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 61). | |
![]() |
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
|
This item has no description. Showing description inherited from TX3DNode.Create. Constructor. Initializes various properties:
Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 63). | |
![]() |
destructor Destroy; override; |
|
This item has no description. Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 64). | |
![]() |
procedure InternalUpdateSkin; |
|
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 Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 75). | |
![]() |
procedure FixJoints; |
|
Fill the FdJoints array, if it is empty. It is a common mistake to leave HAnimHumanoid.Joints empty, which means that we would not animate humanoid at all (as Castle Game Engine requires on the "joints" list being present, as required by the X3D spec). Using this method, you can fix this problem in certain models. If only the proper THAnimJointNode are inside the THAnimHumanoidNode (like in FdSkeleton), we will find them and populate the FdJoints list. This is automatically done when parsing X3D content. You only need to manually call this if you build X3D graph in some other way, e.g. loading other 3D model formats. Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 91). | |
![]() |
procedure ApplyRestPose; |
|
Calculate some thigns neeeded for animation later, assuming the current state is the rest position. This is automatically done when parsing X3D content. You only need to manually call this if you build X3D graph in some other way, e.g. loading other 3D model formats. Source: src/scene/x3d/x3dnodes_standard_h-anim.inc (line 99). | |
![]() |
procedure CreateNode; override; |
|
Create node fields and events. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 57). | |
![]() |
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. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 58). | |
![]() |
procedure SetInfo(const Value: array of string); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 76). | |
![]() |
procedure SetInfo(const Value: TCastleStringList); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 78). | |
![]() |
procedure SetJoints(const Value: array of THAnimJointNode); |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 84). | |
![]() |
procedure SetJointBindingPositions(const Value: array of TVector3); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 90). | |
![]() |
procedure SetJointBindingPositions(const Value: TVector3List); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 92). | |
![]() |
procedure SetJointBindingRotations(const Value: array of TVector4); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 98). | |
![]() |
procedure SetJointBindingRotations(const Value: TVector4List); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 100). | |
![]() |
procedure SetJointBindingScales(const Value: array of TVector3); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 106). | |
![]() |
procedure SetJointBindingScales(const Value: TVector3List); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 108). | |
![]() |
procedure SetMotions(const Value: array of THAnimMotionNode); |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 120). | |
![]() |
procedure SetMotionsEnabled(const Value: array of boolean); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 126). | |
![]() |
procedure SetMotionsEnabled(const Value: TBooleanList); overload; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 128). | |
![]() |
procedure SetSegments(const Value: array of THAnimSegmentNode); |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 158). | |
![]() |
procedure SetSites(const Value: array of THAnimSiteNode); |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 164). | |
![]() |
procedure SetSkeleton(const Value: array of TX3DNode); |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 176). | |
![]() |
procedure SetSkin(const Value: array of TAbstractChildNode); |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 182). | |
![]() |
procedure SetViewpoints(const Value: array of TX3DNode); |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 222). | |
Properties
![]() |
property FdCenter: TSFVec3f read FFdCenter; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 62). | |
![]() |
property Center: TVector3 read GetCenter write SetCenter; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 64). | |
![]() |
property FdDescription: TSFString read FFdDescription; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 68). | |
![]() |
property Description: String read GetDescription write SetDescription; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 70). | |
![]() |
property FdInfo: TMFString read FFdInfo; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 74). | |
![]() |
property FdJoints: TMFNode read FFdJoints; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 82). | |
![]() |
property FdJointBindingPositions: TMFVec3f read FFdJointBindingPositions; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 88). | |
![]() |
property FdJointBindingRotations: TMFRotation read FFdJointBindingRotations; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 96). | |
![]() |
property FdJointBindingScales: TMFVec3f read FFdJointBindingScales; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 104). | |
![]() |
property FdLoa: TSFInt32 read FFdLoa; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 112). | |
![]() |
property Loa: Integer read GetLoa write SetLoa; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 114). | |
![]() |
property FdMotions: TMFNode read FFdMotions; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 118). | |
![]() |
property FdMotionsEnabled: TMFBool read FFdMotionsEnabled; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 124). | |
![]() |
property FdName: TSFString read FFdName; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 132). | |
![]() |
property NameField: String read GetNameField write SetNameField; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 134). | |
![]() |
property FdRotation: TSFRotation read FFdRotation; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 138). | |
![]() |
property Rotation: TVector4 read GetRotation write SetRotation; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 140). | |
![]() |
property FdScale: TSFVec3f read FFdScale; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 144). | |
![]() |
property Scale: TVector3 read GetScale write SetScale; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 146). | |
![]() |
property FdScaleOrientation: TSFRotation read FFdScaleOrientation; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 150). | |
![]() |
property ScaleOrientation: TVector4 read GetScaleOrientation write SetScaleOrientation; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 152). | |
![]() |
property FdSegments: TMFNode read FFdSegments; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 156). | |
![]() |
property FdSites: TMFNode read FFdSites; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 162). | |
![]() |
property FdSkeletalConfiguration: TSFString read FFdSkeletalConfiguration; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 168). | |
![]() |
property SkeletalConfiguration: String read GetSkeletalConfiguration write SetSkeletalConfiguration; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 170). | |
![]() |
property FdSkeleton: TMFNode read FFdSkeleton; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 174). | |
![]() |
property FdSkin: TMFNode read FFdSkin; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 180). | |
![]() |
property FdSkinBindingCoord: TSFNode read FFdSkinBindingCoord; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 186). | |
![]() |
property SkinBindingCoord: TAbstractCoordinateNode read GetSkinBindingCoord write SetSkinBindingCoord; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 188). | |
![]() |
property FdSkinBindingNormal: TSFNode read FFdSkinBindingNormal; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 192). | |
![]() |
property SkinBindingNormal: TAbstractNormalNode read GetSkinBindingNormal write SetSkinBindingNormal; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 194). | |
![]() |
property FdSkinCoord: TSFNode read FFdSkinCoord; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 198). | |
![]() |
property FdSkinNormal: TSFNode read FFdSkinNormal; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 202). | |
![]() |
property SkinNormal: TAbstractNormalNode read GetSkinNormal write SetSkinNormal; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 204). | |
![]() |
property FdTranslation: TSFVec3f read FFdTranslation; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 208). | |
![]() |
property Translation: TVector3 read GetTranslation write SetTranslation; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 210). | |
![]() |
property FdVersion: TSFString read FFdVersion; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 214). | |
![]() |
property Version: String read GetVersion write SetVersion; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 216). | |
![]() |
property FdViewpoints: TMFNode read FFdViewpoints; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 220). | |
![]() |
property FdBboxCenter: TSFVec3f read FFdBboxCenter; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 226). | |
![]() |
property BBox: TBox3D read GetBBox write SetBBox; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 228). | |
![]() |
property FdBboxSize: TSFVec3f read FFdBboxSize; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_hanimhumanoid.inc (line 232). | |
Generated by PasDoc 0.17.0.snapshot.

