APEX Clothing Module. More...
#include <ModuleClothing.h>
Public Member Functions | |
| virtual ClothingPhysicalMesh * | createEmptyPhysicalMesh ()=0 |
| creates an empty physical mesh. A custom mesh can be assigned to it. | |
| virtual ClothingPhysicalMesh * | createSingleLayeredMesh (RenderMeshAssetAuthoring *asset, uint32_t subdivision, bool mergeVertices, bool closeHoles, IProgressListener *progress)=0 |
| creates a physical mesh based on a render mesh asset. This will be a 1 to 1 copy of the render mesh | |
APEX Clothing Module.
Used to generate simulated clothing on (mostly humanoid) characters.
| virtual ClothingPhysicalMesh* nvidia::apex::ModuleClothing::createSingleLayeredMesh | ( | RenderMeshAssetAuthoring * | asset, |
| uint32_t | subdivision, | ||
| bool | mergeVertices, | ||
| bool | closeHoles, | ||
| IProgressListener * | progress | ||
| ) | [pure virtual] |
creates a physical mesh based on a render mesh asset. This will be a 1 to 1 copy of the render mesh
| [in] | asset | The render mesh that is used as source for the physical mesh |
| [in] | subdivision | Modify the physical mesh such that all edges that are longer than (bounding box diagonal / subdivision) are split up. Must be <= 200 |
| [in] | mergeVertices | All vertices with the same position will be welded together. |
| [in] | closeHoles | Close any hole found in the mesh. |
| [in] | progress | An optional callback for progress display. |