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. The object cannot be used directly, a instance is used to deform the geometry, and 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.

This class provides 8 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/WriteGets or sets the link mode.
WeightCountintReadGets the weight count.
TransformMatrix4Read/WriteGets or sets the transform.
BoneTransformMatrix4Read/WriteGets or sets the bone transform.
NodeNodeRead/WriteGets or sets the node.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
Bone(name: string)
Bone()
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()
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. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

See Also