Click or drag to resize

Bone Class

Represents a single bone of a mesh. A bone has a name which allows it to be found in the frame hierarchy and by which it can be addressed by animations. In addition it has a number of influences on vertices and a matrix relating the mesh position to the position of the bone at the time of binding.
Inheritance Hierarchy
SystemObject
  Internal.AssimpBone

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public sealed class Bone : IMarshalable<Bone, AiBone>

The Bone type exposes the following members.

Constructors
 NameDescription
Public methodBone Constructs a new instance of the Bone class.
Public methodBone(String, Matrix3x3, VertexWeight) Constructs a new instance of the Bone class.
Top
Properties
 NameDescription
Public propertyHasVertexWeights Gets if the bone has vertex weights - this should always be true.
Public propertyName Gets or sets the name of the bone.
Public propertyOffsetMatrix Gets or sets the matrix that transforms from bone space to mesh space in bind pose. This matrix describes the position of the mesh in the local space of this bone when the skeleton was bound. Thus it can be used directly to determine a desired vertex position, given the world-space transform of the bone when animated, and the position of the vertex in mesh space. It is sometimes called an inverse-bind matrix or inverse-bind pose matrix.
Public propertyVertexWeightCount Gets the number of vertex influences the bone contains.
Public propertyVertexWeights Gets the influence weights of this bone, by vertex index.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberFreeNative Frees unmanaged memory created by ToNative(IntPtr, Native).
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also