Class BlendShape
Data container for the blend shape.
Inheritance
BlendShape
Assembly: FlaxEngine.dll
File: Engine/Graphics/Models/BlendShape.h
Syntax
public class BlendShape
Fields
MaxVertexIndex
The maximum index of the vertex in all blend shape vertices. Used to optimize blend shapes updating.
Declaration
public uint32 MaxVertexIndex
Field Value
uint32
|
MinVertexIndex
The minimum index of the vertex in all blend shape vertices. Used to optimize blend shapes updating.
Declaration
public uint32 MinVertexIndex
Field Value
uint32
|
Name
UseNormals
True if blend shape contains deltas for normal vectors of the mesh, otherwise calculations related to tangent space can be skipped.
Declaration
public bool UseNormals
Field Value
bool
|
Vertices
The list of shape vertices.
Declaration
public Array<BlendShapeVertex> Vertices
Field Value
Array<BlendShapeVertex>
|
Weight
The weight of the blend shape.
Declaration
public float Weight
Field Value
float
|
Methods
Load(ReadStream& stream, byte meshVersion)
Declaration
public void Load(ReadStream& stream, byte meshVersion)
Parameters
ReadStream
stream
|
byte
meshVersion
|
LoadHeader(class ReadStream& stream, byte headerVersion)
Declaration
public void LoadHeader(class ReadStream& stream, byte headerVersion)
Parameters
class ReadStream
stream
|
byte
headerVersion
|
Save(WriteStream& stream)
SaveHeader(class WriteStream& stream)
Declaration
public void SaveHeader(class WriteStream& stream) const
Parameters
class WriteStream
stream
|