Class SkinnedMeshBones
Contains skeletal bones pose data for skinned mesh rendering.
Inheritance
System.Object
SkinnedMeshBones
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class SkinnedMeshBones : ValueType
Fields
BoneMatrices
Buffer with skinned mesh bones data (array of Matrix3x4, one per bone). Used for GPU skinning in the vertex shader.
Declaration
public GPUBuffer BoneMatrices
Field Value
|
GPUBuffer
|
BoneOffset
Offset in the bones buffer where data starts (in Matrix3x4s).
Declaration
public uint BoneOffset
Field Value
|
System.UInt32
|
PrevBonesOffset
Offset in the bones buffer where previous-frame bones data starts (in Matrix3x4s). Can be negative, value 0 means it's unsued (single-frame data provided).
Declaration
public short PrevBonesOffset
Field Value
|
System.Int16
|