Open 3D Engine AtomTressFX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
TressFXSDFCollision Class Reference

Inherits TressFXNonCopyable.

Public Member Functions

 TressFXSDFCollision (EI_Device *pDevice, TressFXSDFInputMeshInterface *pCollMesh, const char *modelName, int numCellsInX, float collisionMargin)
 
void Update (EI_CommandContext &commandContext, TressFXSDFCollisionSystem &system)
 
void CollideWithHair (EI_CommandContext &commandContext, TressFXSDFCollisionSystem &system, TressFXHairObject &hairObject)
 
float GetSDFCollisionMargin () const
 
const EI_ResourceGetSDFDataGPUBuffer () const
 
EI_ResourceGetSDFDataGPUBuffer ()
 
float GetGridCellSize () const
 
Vector3 GetGridOrigin () const
 
void GetGridNumCells (int &x, int &y, int &z) const
 
int GetGridNumTotalCells () const
 
TressFXSDFCollisionParams & GetConstantBufferData ()
 

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