NodeBuilder

NodeBuilder class

Defines a node object within an armature.

public class NodeBuilder : BaseBuilder

Constructors

NameDescription
NodeBuilder()The default constructor.
NodeBuilder(string)Initializes a new instance of the NodeBuilder class.
NodeBuilder(string, JsonContent)Initializes a new instance of the NodeBuilder class.

Properties

NameDescription
AnimationTracksNames { get; }
Extras { get; set; }Gets or sets the custom data of this object.
HasAnimations { get; }Gets a value indicating whether this NodeBuilder has animations.
LocalMatrix { get; set; }Gets or sets the local transform Matrix4x4 of this NodeBuilder.
LocalTransform { get; set; }Gets or sets the local Scale, Rotation and Translation of this NodeBuilder.
Name { get; set; }Gets or sets the display text name, or null.
Parent { get; }
Root { get; }
Rotation { get; }Gets the current rotation transform, or null.
Scale { get; }Gets the current Scale transform, or null.
Translation { get; }Gets the current translation transform, or null.
VisualChildren { get; }
WorldMatrix { get; set; }Gets or sets the world transform Matrix4x4 of this NodeBuilder.

Methods

NameDescription
AddNode(NodeBuilder)
CreateNode(string)
DeepClone()
static Flatten(NodeBuilder)
GetInverseBindMatrix(Matrix4x4?)
GetLocalTransform(string, float)
GetWorldMatrix(string, float)
static IsValidArmature(IEnumerable<NodeBuilder>)Checks if the collection of joints can be used for skinning a mesh.
SetLocalTransform(AffineTransform, bool)Sets the local transform of this node. Optionally it is possible keep children from being affected by this node transformation change.
SetRotationTrack(string, ICurveSampler<Quaternion>)
SetScaleTrack(string, ICurveSampler<Vector3>)
SetTranslationTrack(string, ICurveSampler<Vector3>)
UseRotation()
UseRotation(string)
UseScale()
UseScale(string)
UseTranslation()
UseTranslation(string)
WithLocalRotation(Quaternion)
WithLocalRotation(string, IReadOnlyDictionary<float, Quaternion>)
WithLocalScale(Vector3)
WithLocalScale(string, IReadOnlyDictionary<float, Vector3>)
WithLocalTranslation(Vector3)
WithLocalTranslation(string, IReadOnlyDictionary<float, Vector3>)

See Also