Class Bone

Bone class

A bone defines the subset of the geometry’s control point, and defined blend weight for each control point. The Bone object cannot be used directly, a SkinDeformer instance is used to deform the geometry, and SkinDeformer comes with a set of bones, each bone linked to a node. NOTE: A control point of a geometry can be bounded to more than one Bones.

public class Bone : A3DObject

Constructors

NameDescription
Bone()Initializes a new instance of the Bone class.
Bone(string)Initializes a new instance of the Bone class.

Properties

NameDescription
BoneTransform { get; set; }Gets or sets the transform matrix of the bone.
Item { get; set; }
LinkMode { get; set; }A bone’s link mode refers to the way in which a bone is connected or linked to its parent bone within a hierarchical structure.
virtual Name { get; set; }Gets or sets the name.(Inherited from A3DObject.)
Node { get; set; }Gets or sets the node. The bone node is the bone which skin attached to, the SkinDeformer will use bone node to influence the displacement of the control points. Bone node usually has a Skeleton attached, but it’s not required. Attached Skeleton is usually used by DCC software to show skeleton to user.
Properties { get; }Gets the collection of all properties.(Inherited from A3DObject.)
Transform { get; set; }Gets or sets the transform matrix of the node containing the bone.
WeightCount { get; }Gets the count of weight, this is automatically extended by SetWeight

Methods

NameDescription
FindProperty(string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)(Inherited from A3DObject.)
GetProperty(string)Get the value of specified property(Inherited from A3DObject.)
GetWeight(int)Gets the weight for control point specified by index
RemoveProperty(Property)Removes a dynamic property.(Inherited from A3DObject.)
RemoveProperty(string)Remove the specified property identified by name(Inherited from A3DObject.)
SetProperty(string, object)Sets the value of specified property(Inherited from A3DObject.)
SetWeight(int, double)Sets the weight for control point specified by index

See Also