Class ArmatureInstance

ArmatureInstance class

Represents the transform states of a collection of bones.

public class ArmatureInstance

Properties

NameDescription
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

NameDescription
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.

See Also