#include <DestructibleAsset.h>
Classes | |
struct | FractureAttachment |
struct | FractureGlass |
Public Member Functions | |
PX_INLINE void | setToDefault () |
Public Attributes | |
bool | sheetFracture |
uint32_t | depthLimit |
bool | destroyIfAtDepthLimit |
float | minConvexSize |
float | impulseScale |
struct nvidia::apex::DestructibleRTFractureParameters::FractureGlass | glass |
Instance of FractureGlass parameters. | |
struct nvidia::apex::DestructibleRTFractureParameters::FractureAttachment | attachment |
Instance of FractureAttachment parameters. |
Parameters for RT Fracture
PX_INLINE void nvidia::apex::DestructibleRTFractureParameters::setToDefault | ( | ) |
Set default fracture parameters
struct nvidia::apex::DestructibleRTFractureParameters::FractureAttachment nvidia::apex::DestructibleRTFractureParameters::attachment |
Instance of FractureAttachment parameters.
Number of times deep a chunk can be fractured. Can help limit the number of chunks produced by runtime fracture.
If true, destroy chunks when they hit their depth limit. If false, then chunks at their depth limit will not fracture but will have a force applied.
struct nvidia::apex::DestructibleRTFractureParameters::FractureGlass nvidia::apex::DestructibleRTFractureParameters::glass |
Instance of FractureGlass parameters.
Scales impulse applied by a fracture.
Minimum Convex Size. Minimum size of convex produced by a fracture.
If true, align fracture pattern to largest face. If false, the fracture pattern will be aligned to the hit normal with each fracture.