Bone
Overview
Bone is a class in Aspose.3D FOSS for .NET.
Inherits from: A3DObject, INamedObject.
A bone defines the subset of the geometry’s control point, and defined blend weight for each control point.
This class provides 11 methods for working with Bone objects in .NET programs.
Available methods include: A3DObject, Bone, FindProperty, GetProperty, GetWeight, RemoveProperty, SetProperty, SetWeight.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: BoneTransform, LinkMode, Name, Node, Properties, Transform, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LinkMode | BoneLinkMode | Read/Write | 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. |
WeightCount | int | Read | Gets the count of weight, this is automatically extended by |
Transform | Matrix4 | Read/Write | Gets or sets the transform matrix of the node containing the bone. |
BoneTransform | Matrix4 | Read/Write | Gets or sets the transform matrix of the bone. |
Node | Node | Read/Write | Gets or sets the node. |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the collection of all properties. |
Methods
| Signature | Description |
|---|---|
Bone(name: string) | Initializes a new instance of the class. |
Bone() | Initializes a new instance of the class. |
GetWeight(index: int) | Gets the weight for control point specified by index |
SetWeight(index: int, weight: double) | Sets the weight for control point specified by index |
A3DObject() | Initializes a new instance of the A3DObject class with no name. |
A3DObject(name: string) | Initializes a new instance of the A3DObject class. |
RemoveProperty(property: Property) | Removes a dynamic property. |
RemoveProperty(property: string) | Remove the specified property identified by name |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. |