|
RavEngine
|
Preprocessor to prepare particle cloths for simulation. More...
#include <PxParticleBuffer.h>
Public Member Functions | |
| virtual void | release ()=0 |
| Release this object and deallocate all the memory. | |
| virtual void | partitionSprings (const PxParticleClothDesc &clothDesc, PxPartitionedParticleCloth &output)=0 |
| Partition the spring constraints for particle cloth simulation. | |
Preprocessor to prepare particle cloths for simulation.
Preprocessing is done by calling PxParticleClothPreProcessor::partitionSprings() on an instance of this class. This will allocate the memory in the output object, partition the springs and fill all the members of the ouput object. The output can then be passed without any further modifications to PxParticleClothBuffer::setCloths().
See #PxCreateParticleClothPreprocessor, #PxParticleClothDesc, #PxPartitionedParticleCloth
|
pure virtual |
Partition the spring constraints for particle cloth simulation.
| [in] | clothDesc | Reference to a valid #PxParticleClothDesc. |
| [in] | output | Reference to a #PxPartitionedParticleCloth object. This is the output of the preprocessing and should be passed to a #PxParticleClothBuffer. |
Implemented in physx::NpParticleClothPreProcessor.
|
pure virtual |
Release this object and deallocate all the memory.
Implemented in physx::NpParticleClothPreProcessor.