#include <DestructibleAsset.h>
Public Member Functions | |
PX_INLINE | DestructibleDepthParameters () |
constructor sets to default. | |
PX_INLINE void | setToDefault () |
(re)sets the structure to the default. | |
PX_INLINE void | setToMostExpensive () |
(re)sets the structure to parameters which are likely to be the most computationally expensive. | |
PX_INLINE bool | overrideImpactDamage () const |
PX_INLINE bool | overrideImpactDamageValue () const |
PX_INLINE bool | ignoresPoseUpdates () const |
PX_INLINE bool | ignoresRaycastCallbacks () const |
PX_INLINE bool | ignoresContactCallbacks () const |
PX_INLINE bool | hasUserFlagSet (uint32_t flagIndex) const |
Public Attributes | |
uint32_t | flags |
Parameters that may be set for all chunks at a particular depth in the fracture hierarchy
PX_INLINE nvidia::apex::DestructibleDepthParameters::DestructibleDepthParameters | ( | ) |
constructor sets to default.
PX_INLINE bool nvidia::apex::DestructibleDepthParameters::hasUserFlagSet | ( | uint32_t | flagIndex | ) | const |
A convenience function to determine if the USER_FLAG_0, USER_FLAG_1, USER_FLAG_2, or USER_FLAG_3 flag is set.
PX_INLINE bool nvidia::apex::DestructibleDepthParameters::ignoresContactCallbacks | ( | ) | const |
A convenience function to determine if the IGNORE_CONTACT_CALLBACKS is set.
PX_INLINE bool nvidia::apex::DestructibleDepthParameters::ignoresPoseUpdates | ( | ) | const |
A convenience function to determine if the IGNORE_POSE_UPDATES is set.
PX_INLINE bool nvidia::apex::DestructibleDepthParameters::ignoresRaycastCallbacks | ( | ) | const |
A convenience function to determine if the IGNORE_RAYCAST_CALLBACKS is set.
PX_INLINE bool nvidia::apex::DestructibleDepthParameters::overrideImpactDamage | ( | ) | const |
A convenience function to determine if the OVERRIDE_IMPACT_DAMAGE is set.
PX_INLINE bool nvidia::apex::DestructibleDepthParameters::overrideImpactDamageValue | ( | ) | const |
A convenience function to read OVERRIDE_IMPACT_DAMAGE_VALUE is set.
PX_INLINE void nvidia::apex::DestructibleDepthParameters::setToDefault | ( | ) |
(re)sets the structure to the default.
PX_INLINE void nvidia::apex::DestructibleDepthParameters::setToMostExpensive | ( | ) |
(re)sets the structure to parameters which are likely to be the most computationally expensive.
A collection of flags defined in DestructibleDepthParametersFlag.