Class ArmatureInstance
Contents
[
Hide
]ArmatureInstance class
Represents the transform states of a collection of bones.
public class ArmatureInstance
Properties
Name | Description |
---|---|
AnimationTracks { get; } | Gets the total number of animation tracks for this instance. |
LogicalNodes { get; } | Gets a flattened collection of all the nodes of this armature. |
VisualNodes { get; } | Gets all the NodeInstance roots used by this SceneInstance . |
Methods
Name | Description |
---|---|
SetAnimationFrame(params (int TrackIdx, float Time, float Weight)[]) | |
SetAnimationFrame(int, float, bool) | Sets the bone transforms from an animation frame. |
SetLocalMatrix(string, Matrix4x4) | Sets the matrix of a bone. |
SetModelMatrix(string, Matrix4x4) | Sets the matrix of a bone. |
SetPoseTransforms() | Resets the bone transforms to their default positions. |
static SetAnimationFrame(IEnumerable<NodeInstance>, params (int TrackIdx, float Time, float Weight)[]) |
See Also
- namespace Aspose.CAD.FileFormats.GLB.Runtime
- assembly Aspose.CAD