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 9 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

NameTypeAccessDescription
LinkModeBoneLinkModeRead/WriteA 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
TransformMatrix4Read/WriteGets or sets the transform matrix of the node containing the bone.
BoneTransformMatrix4Read/WriteGets or sets the transform matrix of the bone.
NodeNodeRead/WriteGets or sets the node.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the collection of all properties.

Methods

SignatureDescription
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.
RemoveProperty(property: Property)Removes a dynamic property.
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.

See Also

 English