PhysX SDK 3.2 API Reference: PxSceneLimits Class Reference

PhysX SDK 3.2 API

PxSceneLimits Class Reference
[Physics]

Class used to retrieve limits(e.g. maximum number of bodies) for a scene. The limits are used as a hint to the size of the scene, not as a hard limit (i.e. it will be possible to create more objects than specified in the scene limits). More...

#include <PxSceneDesc.h>

List of all members.


Public Member Functions

PX_INLINE PxSceneLimits ()
 constructor sets to default
PX_INLINE void setToDefault ()
 (re)sets the structure to the default
PX_INLINE bool isValid () const
 Returns true if the descriptor is valid.

Public Attributes

PxU32 maxNbActors
 Expected maximum number of actors.
PxU32 maxNbBodies
 Expected maximum number of dynamic rigid bodies.
PxU32 maxNbStaticShapes
 Expected maximum number of static shapes.
PxU32 maxNbDynamicShapes
 Expected maximum number of dynamic shapes.
PxU32 maxNbConstraints
 Expected maximum number of constraint shaders.

Detailed Description

Class used to retrieve limits(e.g. maximum number of bodies) for a scene. The limits are used as a hint to the size of the scene, not as a hard limit (i.e. it will be possible to create more objects than specified in the scene limits).

0 indicates no limit.


Member Data Documentation

Expected maximum number of actors.

Referenced by PxSceneLimits().

Expected maximum number of dynamic rigid bodies.

Referenced by PxSceneLimits().

Expected maximum number of constraint shaders.

Referenced by PxSceneLimits().

Expected maximum number of dynamic shapes.

Referenced by PxSceneLimits().

Expected maximum number of static shapes.

Referenced by PxSceneLimits().


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



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