Public Member Functions | Public Attributes
nvidia::apex::DestructibleDepthParameters Struct Reference

#include <DestructibleAsset.h>

List of all members.

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

Detailed Description

Parameters that may be set for all chunks at a particular depth in the fracture hierarchy


Constructor & Destructor Documentation

PX_INLINE nvidia::apex::DestructibleDepthParameters::DestructibleDepthParameters ( )

constructor sets to default.


Member Function Documentation

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.


Member Data Documentation

A collection of flags defined in DestructibleDepthParametersFlag.


The documentation for this struct was generated from the following file:

Generated on Sat Dec 1 2018 15:51:53

Copyright © 2012-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.