Open 3D Engine NvCloth 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.
|
Manages motion and separation constraints for cloth. More...
#include <ClothConstraints.h>
Public Member Functions | |
AZ_TYPE_INFO (ClothConstraints, "{EB14ED7C-37FD-4CA3-9137-EC6590712E50}") | |
void | CalculateConstraints (const AZStd::vector< SimParticleFormat > &simParticles, const AZStd::vector< SimIndexType > &simIndices) |
const AZStd::vector< AZ::Vector4 > & | GetMotionConstraints () const |
const AZStd::vector< AZ::Vector4 > & | GetSeparationConstraints () const |
void | SetMotionConstraintMaxDistance (float distance) |
void | SetBackstopMaxRadius (float radius) |
void | SetBackstopMaxOffsets (float backOffset, float frontOffset) |
Static Public Member Functions | |
static AZStd::unique_ptr< ClothConstraints > | Create (const AZStd::vector< float > &motionConstraintsData, const float motionConstraintsMaxDistance, const AZStd::vector< AZ::Vector2 > &backstopData, const float backstopMaxRadius, const float backstopMaxBackOffset, const float backstopMaxFrontOffset, const AZStd::vector< SimParticleFormat > &simParticles, const AZStd::vector< SimIndexType > &simIndices, const AZStd::vector< int > &meshRemappedVertices) |
Manages motion and separation constraints for cloth.