Bone (struct)

An element in the Skeleton hierarchy.

The Bone struct represents a joint or locator in a skeleton hierarchy. The Bone represents a transform or coordinate space in the hierarchy and is often used to deform geometries.

参考

Skeleton

Bone Bone Bone

Members

String name  
Scalar length  
Scalar radius  
Color color  
Integer parentIndex  
Index[] childIndices  
Integer mirrorBoneID  
UInt32 flags  
Integer shapeType  
Xfo referencePose  
Mat44 invRefPose  

Methods

  Bone ( in Bone other )
  Bone ()
  calcInvRefPose ! ()
  clearFlag ! ( in UInt32 flag )
Bone clone ? ()
String getDesc ? ( in String indent )
String getDesc ? ()
  setFlag ! ( in UInt32 flag )
Boolean testFlag ? ( in UInt32 flag )

Methods in detail

Bone ( in Bone other )

copy constructor


Bone ()


Bone.calcInvRefPose! ()

Computes the cached invRefPose.


Bone.clearFlag! ( in UInt32 flag )

Clears a flag on the bone using bitwise operators


Bone Bone.clone? ()

clone method


String Bone.getDesc? ( in String indent )

Generates a Description string of this bone. Used when debugging skeleton hierarchies.

indent The indentation to use when generating the string.


String Bone.getDesc? ()

Generates a Description string of this bone. Used when debugging skeleton hierarchies.


Bone.setFlag! ( in UInt32 flag )

Sets a flag on the bone using bitwise operators


Boolean Bone.testFlag? ( in UInt32 flag )

Tests a flag on the bone using bitwise operators