|
RavEngine
|
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>
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. | |
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. Using limits allows the SDK to preallocate various arrays, leading to less re-allocations and faster code at runtime.
| PX_INLINE bool physx::PxSceneLimits::isValid | ( | ) | const |
Returns true if the descriptor is valid.