XII Release 0.1.0
Loading...
Searching...
No Matches
xiiMeshMorphTarget Struct Reference

#include <MeshResource.h>

Public Member Functions

xiiResult Serialize (xiiStreamWriter &inout_stream) const
xiiResult Deserialize (xiiStreamReader &inout_stream)

Public Attributes

xiiHashedString m_Name
 Name of the morph target, used for identification and animation control.
xiiUInt32 m_uiVertexOffset = 0U
 First delta vertex in the immutable mesh vertex buffer.
xiiUInt32 m_uiVertexCount = 0U
 Number of vertices affected by this morph target, used for rendering and animation.
xiiBoundingBoxSphere m_Bounds = xiiBoundingBoxSphere::MakeInvalid()
 Bounds of position deltas, including zero for unaffected vertices.

Detailed Description

Dense additive morph deltas in the mesh vertex buffer, using its native stream layout. The range supplies deltas for source vertices [0, count). Apply weighted deltas before skinning. Position/normal/tangent xyz are deltas; UVs and tangent handedness remain from the base vertex.


The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Meshes/MeshResource.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Meshes/Implementation/MeshResourceDescriptor.cpp