Bone class
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.
The Bone type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the Bone class. |
init | Initializes a new instance of the Bone class. |
Properties
Property | Description |
---|---|
name | Gets or sets the name. |
properties | Gets the collection of all properties. |
link_mode | 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. |
weight_count | Gets the count of weight, this is automatically extended by Bone.set_weight |
transform | Gets or sets the transform matrix of the node containing the bone. |
bone_transform | Gets or sets the transform matrix of the bone. |
node | 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. |
Indexer
Name | Description |
---|---|
[index] |
Methods
Method | Description |
---|---|
remove_property | Removes a dynamic property. |
remove_property | Remove the specified property identified by name |
get_property | Get the value of specified property |
set_property | Sets the value of specified property |
find_property | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
get_weight | Gets the weight for control point specified by index |
set_weight | Sets the weight for control point specified by index |
See Also
- module
aspose.threed.deformers
- class
A3DObject
- class
Bone
- class
Skeleton
- class
SkinDeformer