APEX Framework: nvidia::apex::DestructibleDepthParameters Struct Reference

NVIDIA APEX

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


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.


Member Data Documentation


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

Generated on Fri Dec 15 2017 13:58:38

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