Class SkeletonUpdater
Performs hierarchical updates for a given Model.
[DataContract]
public class SkeletonUpdater
- Inheritance
-
SkeletonUpdater
Constructors
SkeletonUpdater(Skeleton)
Initializes a new instance of the SkeletonUpdater class.
public SkeletonUpdater(Skeleton skeleton)
Parameters
skeleton
SkeletonThe skeleton.
Properties
NodeTransformations
[DataMember]
public ModelNodeTransformation[] NodeTransformations { get; }
Property Value
Nodes
[DataMember]
public ModelNodeDefinition[] Nodes { get; }
Property Value
Methods
GetLocalMatrix(int, out Matrix)
public void GetLocalMatrix(int index, out Matrix matrix)
Parameters
GetWorldMatrix(int, out Matrix)
public void GetWorldMatrix(int index, out Matrix matrix)
Parameters
Initialize(Skeleton)
public void Initialize(Skeleton skeleton)
Parameters
skeleton
Skeleton
ResetInitialValues()
Resets initial values.
public void ResetInitialValues()
UpdateMatrices()
For each node, updates the world matrices from local matrices.
public void UpdateMatrices()