From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/structPxQueryCache.html | 183 +++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/structPxQueryCache.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxQueryCache.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxQueryCache.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxQueryCache.html new file mode 100644 index 00000000..99dc6213 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxQueryCache.html @@ -0,0 +1,183 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxQueryCache Struct Reference + + + + + + + +
+

PxQueryCache Struct Reference
+ +[Physics] +

single hit cache for scene queries. +More... +

+#include <PxScene.h> +

+

+Collaboration diagram for PxQueryCache:
+
+

Collaboration graph
+ +PxRigidActorPxActorPxBasePxShapePxFlags\< PxBaseFlag::Enum, PxU16 \> +
[legend]
+ +

+List of all members. + + + + + + + + + + + + + + + + + + +

Public Member Functions

PX_INLINE PxQueryCache ()
 constructor sets to default
PX_INLINE PxQueryCache (PxShape *s, PxU32 findex)
 constructor to set properties

Public Attributes

PxShapeshape
 Shape to test for intersection first.
PxRigidActoractor
 Actor to which the shape belongs.
PxU32 faceIndex
 Triangle index to test first - NOT CURRENTLY SUPPORTED.
+


Detailed Description

+single hit cache for scene queries. +

+If a cache object is supplied to a scene query, the cached actor/shape pair is checked for intersection first.

Note:
Filters are not executed for the cached shape.

+If intersection is found, the hit is treated as blocking.

+Typically actor and shape from the last PxHitCallback.block query result is used as a cached actor/shape pair.

+Using past touching hits as cache will produce incorrect behavior since the cached hit will always be treated as blocking.

+Cache is only used if no touch buffer was provided, for single nearest blocking hit queries and queries using eANY_HIT flag.

+if non-zero touch buffer was provided, cache will be ignored

+It is the user's responsibility to ensure that the shape and actor are 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.

+

See also:
PxScene.raycast
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PX_INLINE PxQueryCache::PxQueryCache (  )  [inline]
+
+
+ +

+constructor sets to default +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
PX_INLINE PxQueryCache::PxQueryCache (PxShape s,
PxU32  findex 
) [inline]
+
+
+ +

+constructor to set properties +

+ +

+

+


Member Data Documentation

+ +
+ +
+ +

+Actor to which the shape belongs. +

+ +

+

+ +

+ +
+ +

+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-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3