Bone
Overview
Bone is a class in Aspose.3D FOSS for Java.
Inherits from: A3DObject.
A bone defines the subset of the geometry’s control point, and defined blend weight for each control point.
This class provides 23 methods for working with Bone objects in Java programs.
Available methods include: A3DObject, Bone, findProperty, get, getBoneTransform, getLinkMode, getName, getNode, getProperties, getProperty, getTransform, getWeight, and 10 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: boneTransform, linkMode, name, node, properties, transform, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
linkMode | BoneLinkMode | Read | 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 setWeight(int, double). |
transform | Matrix4 | Read | Gets the transform matrix of the node containing the bone. |
boneTransform | Matrix4 | Read | Gets the transform matrix of the bone. |
node | Node | Read | Gets the node. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
Bone() | Initializes a new instance of the Bone class. |
Bone(name: String) | Initializes a new instance of the Bone class. |
getLinkMode() → BoneLinkMode | 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. |
setLinkMode(value: BoneLinkMode) | 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. |
getWeight(index: int) → double | Gets the weight for control point specified by index. |
setWeight(index: int, weight: double) | Sets the weight for control point specified by index. |
getWeightCount() → int | Gets the count of weight, this is automatically extended by setWeight(int, double). |
getTransform() → Matrix4 | Gets the transform matrix of the node containing the bone. |
setTransform(value: Matrix4) | Sets the transform matrix of the node containing the bone. |
getBoneTransform() → Matrix4 | Gets the transform matrix of the bone. |
setBoneTransform(value: Matrix4) | Sets the transform matrix of the bone. |
getNode() → Node | Gets the node. |
setNode(value: Node) | Sets the node. |
get(index: int) → double | Gets or sets the weight at the specified index. |
set(index: int, value: double) | Sets the blend weight of specified control point. |
A3DObject() | Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero. |
getName() → String | The segments of the curve. |
setName(name: String) | Constructs a CircleShape profile with specified radius. |
getProperties() → PropertyCollection | Initializes a new instance of Cylinder class. |
findProperty(name: String) → Property | Initializes a new instance of the Bone class. |
getProperty(name: String) → Object | Gets the transform matrix of the node in current pose. |
setProperty(name: String, value: Object) | Gets the width segments. |
removeProperty(name: String) → boolean | Gets flip coordinate system of control points/normal during importing/exporting. |