Bone Class |
public sealed class Bone : IMarshalable<Bone, AiBone>
The Bone type exposes the following members.
| Name | Description | |
|---|---|---|
| Bone | Constructs a new instance of the Bone class. | |
| Bone(String, Matrix3x3, VertexWeight) | Constructs a new instance of the Bone class. |
| Name | Description | |
|---|---|---|
| HasVertexWeights | Gets if the bone has vertex weights - this should always be true. | |
| Name | Gets or sets the name of the bone. | |
| OffsetMatrix | 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. | |
| VertexWeightCount | Gets the number of vertex influences the bone contains. | |
| VertexWeights | Gets the influence weights of this bone, by vertex index. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| FreeNative | Frees unmanaged memory created by ToNative(IntPtr, Native). | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |