PxSceneQueryCache Struct Reference
[Physics]
Hit cache for scene queries.
More...
#include <PxScene.h>
Collaboration diagram for PxSceneQueryCache:

Public Member Functions | |
PX_INLINE | PxSceneQueryCache () |
constructor sets to default | |
PX_INLINE | PxSceneQueryCache (PxShape *s, PxU32 findex) |
constructor to set properties | |
Public Attributes | |
PxShape * | shape |
Shape to test for intersection first. | |
PxU32 | faceIndex |
Triangle index to test first - NOT CURRENTLY SUPPORTED. |
Detailed Description
Hit cache for scene queries.If this is supplied to a scene query, the shape is checked first for intersection. If intersection is found, the hit is assumed to be a blocking hit.
It is the user's responsibility to ensure that the shape is valid, so care must be taken when deleting shapes to invalidate cached references.
The faceIndex field is an additional hint for a mesh or height field which is not currently used.
Constructor & Destructor Documentation
PX_INLINE PxSceneQueryCache::PxSceneQueryCache | ( | ) | [inline] |
constructor sets to default
constructor to set properties
Member Data Documentation
Triangle index to test first - NOT CURRENTLY SUPPORTED.
Shape to test for intersection first.
The documentation for this struct 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