Open 3D Engine EMotionFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMotionFX::MorphTargetStandard::DeformData Class Reference

#include <MorphTargetStandard.h>

Inherits EMotionFX::BaseObject.

Classes

struct  VertexDelta
 

Public Member Functions

DeformDataClone ()
 
 DeformData (size_t nodeIndex, uint32 numVerts)
 
 ~DeformData ()
 
- Public Member Functions inherited from EMotionFX::BaseObject
 BaseObject ()
 
virtual ~BaseObject ()
 
- Public Member Functions inherited from MCore::MemoryObject
 MemoryObject ()
 
virtual ~MemoryObject ()
 
void IncreaseReferenceCount ()
 
void DecreaseReferenceCount ()
 
void Destroy ()
 
uint32 GetReferenceCount () const
 

Static Public Member Functions

static DeformDataCreate (size_t nodeIndex, uint32 numVerts)
 

Public Attributes

VertexDeltam_deltas
 
uint32 m_numVerts
 
size_t m_nodeIndex
 
float m_minValue
 
float m_maxValue
 

Additional Inherited Members

- Protected Member Functions inherited from EMotionFX::BaseObject
void Delete () override
 
virtual void Delete ()
 

Detailed Description

The structure which contains the deformation data for each node which is being touched by this morph target.

Constructor & Destructor Documentation

◆ DeformData()

EMotionFX::MorphTargetStandard::DeformData::DeformData ( size_t  nodeIndex,
uint32  numVerts 
)

The constructor.

Parameters
nodeIndexThe node number on which the deformations should work.
numVertsThe number of vertices modified by this deform.

◆ ~DeformData()

EMotionFX::MorphTargetStandard::DeformData::~DeformData ( )

The destructor. Automatically releases all allocated memory by this deform.

Member Data Documentation

◆ m_deltas

VertexDelta* EMotionFX::MorphTargetStandard::DeformData::m_deltas

The delta values.

◆ m_maxValue

float EMotionFX::MorphTargetStandard::DeformData::m_maxValue

The compression/decompression maximum value for the delta positions.

◆ m_minValue

float EMotionFX::MorphTargetStandard::DeformData::m_minValue

The compression/decompression minimum value for the delta positions.

◆ m_nodeIndex

size_t EMotionFX::MorphTargetStandard::DeformData::m_nodeIndex

The node which this data works on.

◆ m_numVerts

uint32 EMotionFX::MorphTargetStandard::DeformData::m_numVerts

The number of vertices in the m_deltas and m_vertexNumbers arrays.


The documentation for this class was generated from the following file: