APEX Destructible Module: nvidia::apex::DestructibleInitParametersFlag Struct Reference

NVIDIA APEX

nvidia::apex::DestructibleInitParametersFlag Struct Reference

#include <DestructibleAsset.h>

List of all members.

Public Types

enum  Enum {
  ASSET_DEFINED_SUPPORT = (1 << 0),
  WORLD_SUPPORT = (1 << 1),
  FORM_EXTENDED_STRUCTURES = (1 << 2)
}

Detailed Description

Flags that apply to a destructible actor when it created


Member Enumeration Documentation

Enum of destructible init parameters flag

Enumerator:
ASSET_DEFINED_SUPPORT 

If set, then chunks which are tagged as "support" chunks (via DestructibleChunkDesc::isSupportChunk) will have environmental support in static destructibles. Note: if both ASSET_DEFINED_SUPPORT and WORLD_SUPPORT are set, then chunks must be tagged as "support" chunks AND overlap the PxScene's static geometry in order to be environmentally supported.

WORLD_SUPPORT 

If set, then chunks which overlap the PxScene's static geometry will have environmental support in static destructibles. Note: if both ASSET_DEFINED_SUPPORT and WORLD_SUPPORT are set, then chunks must be tagged as "support" chunks AND overlap the PxScene's static geometry in order to be environmentally supported.

FORM_EXTENDED_STRUCTURES 

If this is set and the destructible is initially static, it will become part of an extended support structure if it is in contact with another static destructible that also has this flag set.


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

Generated on Fri Dec 15 2017 13:58:22

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