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

NVIDIA APEX

nvidia::apex::DestructiblePhysXActorQueryFlags Struct Reference

#include <DestructibleActor.h>

List of all members.

Public Types

enum  Enum {
  None = 0,
  Static = (1 << 0),
  Dynamic = (1 << 1),
  Dormant = (1 << 2),
  AllStates = Static | Dynamic | Dormant,
  AllowRedundancy = (1 << 3),
  AllowActorsNotInScenes = (1 << 4)
}

Detailed Description

Flags which control which actors are returned by DestructibleActor::acquirePhysXActorBuffer


Member Enumeration Documentation

Enum of destructible PhysX actor query flags

Enumerator:
None 
Static 
Dynamic 

Destructible-static, which is a kinematic PhysX actor that hasn't been turned dynamic yet.

Dormant 

Dynamic, not dormant (not kinematic)

AllStates 

Dynamic, but dormant (had been made dynamic, but is now in a dormant, PhysX-kinematic state)

AllowRedundancy 

Whether or not to ensure that PhysX actors are not listed more than once when this NxDestructibleActor is part of an extended structure. If this is true, then some NxDestructibleActors may not return all PhysX actors associated with all of their chunks (and in fact may return no PhysX actors), but after querying all NxDestructibleActors in a given structure, every PhysX actor will be accounted for.

AllowActorsNotInScenes 

Whether or not to allow actors not yet put into the PxScene (e.g. there has not been a simulation step since the actor was created) are also returned.


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.