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

NameTypeAccessDescription
linkModeBoneLinkModeReadA bone’s link mode refers to the way in which a bone is connected or linked to its parent bone within a hierarchical structure.
weightCountintReadGets the count of weight, this is automatically extended by setWeight(int, double).
transformMatrix4ReadGets the transform matrix of the node containing the bone.
boneTransformMatrix4ReadGets the transform matrix of the bone.
nodeNodeReadGets the node.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
Bone()Initializes a new instance of the Bone class.
Bone(name: String)Initializes a new instance of the Bone class.
getLinkMode()BoneLinkModeA 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)doubleGets the weight for control point specified by index.
setWeight(index: int, weight: double)Sets the weight for control point specified by index.
getWeightCount()intGets the count of weight, this is automatically extended by setWeight(int, double).
getTransform()Matrix4Gets the transform matrix of the node containing the bone.
setTransform(value: Matrix4)Sets the transform matrix of the node containing the bone.
getBoneTransform()Matrix4Gets the transform matrix of the bone.
setBoneTransform(value: Matrix4)Sets the transform matrix of the bone.
getNode()NodeGets the node.
setNode(value: Node)Sets the node.
get(index: int)doubleGets 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()StringThe segments of the curve.
setName(name: String)Constructs a CircleShape profile with specified radius.
getProperties()PropertyCollectionInitializes a new instance of Cylinder class.
findProperty(name: String)PropertyInitializes a new instance of the Bone class.
getProperty(name: String)ObjectGets the transform matrix of the node in current pose.
setProperty(name: String, value: Object)Gets the width segments.
removeProperty(name: String)booleanGets flip coordinate system of control points/normal during importing/exporting.

See Also

 English