Class SkeletonBone
Describes a single skeleton bone data. Used by the runtime. Skeleton bones are subset of the skeleton nodes collection that are actually used by the skinned model meshes.
Inheritance
System.Object
SkeletonBone
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class SkeletonBone : ValueType
Fields
LocalTransform
The local transformation of the bone, relative to the parent bone (in bind pose).
Declaration
public Transform LocalTransform
Field Value
Transform
|
NodeIndex
The index of the skeleton node where bone is 'attached'. Used as a animation transformation source.
Declaration
public int NodeIndex
Field Value
System.Int32
|
OffsetMatrix
The matrix that transforms from mesh space to bone space in bind pose (inverse bind pose).
Declaration
public Matrix OffsetMatrix
Field Value
Matrix
|
ParentIndex
The parent bone index. The root bone uses value -1.
Declaration
public int ParentIndex
Field Value
System.Int32
|
Properties
Default
The default SkeletonBone.
Declaration
public static SkeletonBone Default { get; }
Property Value
SkeletonBone
|