29#ifndef PX_GEOMETRY_HIT_H
30#define PX_GEOMETRY_HIT_H
34#include "foundation/PxVec3.h"
35#include "foundation/PxFlags.h"
36#include "common/PxPhysXCommonConfig.h"
89PX_FLAGS_TYPEDEF(PxHitFlag, PxU16)
3 Element vector class.
Definition PxVec3.h:50
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Pair of indices, typically either object or triangle indices.
Definition PxGeometryHit.h:183
Stores results of overlap queries.
Definition PxGeometryHit.h:165
Stores results of raycast queries.
Definition PxGeometryHit.h:151
PxReal v
barycentric coordinates of hit point, for triangle mesh and height field (flag: PxHitFlag::eUV)
Definition PxGeometryHit.h:156
Stores results of sweep queries.
Definition PxGeometryHit.h:175
Scene query and geometry query behavior flags.
Definition PxGeometryHit.h:57
Enum
Definition PxGeometryHit.h:59
@ eANY_HIT
Definition PxGeometryHit.h:65
@ eMODIFIABLE_FLAGS
Only this subset of flags can be modified by pre-filter. Other modifications will be discarded.
Definition PxGeometryHit.h:80
@ eNORMAL
"normal" member of #PxQueryHit is valid
Definition PxGeometryHit.h:61
@ eFACE_INDEX
"face index" member of #PxQueryHit is valid
Definition PxGeometryHit.h:75
@ eMESH_BOTH_SIDES
Definition PxGeometryHit.h:69
@ eUV
"u" and "v" barycentric coordinates of #PxQueryHit are valid. Not applicable to sweep queries.
Definition PxGeometryHit.h:62
@ eASSUME_NO_INITIAL_OVERLAP
Definition PxGeometryHit.h:63
@ ePRECISE_SWEEP
Definition PxGeometryHit.h:72
@ ePOSITION
"position" member of #PxQueryHit is valid
Definition PxGeometryHit.h:60
@ eMESH_ANY
Definition PxGeometryHit.h:68
@ eMTD
Report the minimum translation depth, normal and contact point.
Definition PxGeometryHit.h:74
@ eMESH_MULTIPLE
Report all hits for meshes rather than just the first. Not applicable to sweep queries.
Definition PxGeometryHit.h:67
Scene query hit information for raycasts and sweeps returning hit position and normal information.
Definition PxGeometryHit.h:116
PxHitFlags flags
Hit flags specifying which members contain valid values.
Definition PxGeometryHit.h:128
PxF32 distance
Distance to hit.
Definition PxGeometryHit.h:136
PX_INLINE bool hadInitialOverlap() const
Definition PxGeometryHit.h:125
PxVec3 position
World-space hit position (flag: PxHitFlag::ePOSITION)
Definition PxGeometryHit.h:129
PxVec3 normal
World-space hit normal (flag: PxHitFlag::eNORMAL)
Definition PxGeometryHit.h:130
collection of set bits defined in PxHitFlag.
Definition PxGeometryHit.h:95
PxU32 faceIndex
Definition PxGeometryHit.h:106