public class PxShapeExt extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxShapeExt() |
protected |
PxShapeExt(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static PxTransform |
getGlobalPose(PxShape shape,
PxRigidActor actor) |
static PxBounds3 |
getWorldBounds(PxShape shape,
PxRigidActor actor) |
static PxBounds3 |
getWorldBounds(PxShape shape,
PxRigidActor actor,
float inflation) |
static boolean |
overlap(PxShape shape,
PxRigidActor actor,
PxGeometry otherGeom,
PxTransform otherGeomPose) |
static int |
raycast(PxShape shape,
PxRigidActor actor,
PxVec3 rayOrigin,
PxVec3 rayDir,
float maxDist,
PxHitFlags hitFlags,
int maxHits,
PxRaycastHit rayHits) |
static boolean |
sweep(PxShape shape,
PxRigidActor actor,
PxVec3 unitDir,
float distance,
PxGeometry otherGeom,
PxTransform otherGeomPose,
PxSweepHit sweepHit,
PxHitFlags hitFlags) |
static PxShapeExt |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static PxShapeExt wrapPointer(long address)
public void destroy()
public static PxTransform getGlobalPose(PxShape shape, PxRigidActor actor)
shape - WebIDL type: PxShape [Const, Ref]actor - WebIDL type: PxRigidActor [Const, Ref]PxTransform [Value]public static int raycast(PxShape shape, PxRigidActor actor, PxVec3 rayOrigin, PxVec3 rayDir, float maxDist, PxHitFlags hitFlags, int maxHits, PxRaycastHit rayHits)
shape - WebIDL type: PxShape [Const, Ref]actor - WebIDL type: PxRigidActor [Const, Ref]rayOrigin - WebIDL type: PxVec3 [Const, Ref]rayDir - WebIDL type: PxVec3 [Const, Ref]maxDist - WebIDL type: floathitFlags - WebIDL type: PxHitFlags [Ref]maxHits - WebIDL type: unsigned longrayHits - WebIDL type: PxRaycastHitpublic static boolean overlap(PxShape shape, PxRigidActor actor, PxGeometry otherGeom, PxTransform otherGeomPose)
shape - WebIDL type: PxShape [Const, Ref]actor - WebIDL type: PxRigidActor [Const, Ref]otherGeom - WebIDL type: PxGeometry [Const, Ref]otherGeomPose - WebIDL type: PxTransform [Const, Ref]public static boolean sweep(PxShape shape, PxRigidActor actor, PxVec3 unitDir, float distance, PxGeometry otherGeom, PxTransform otherGeomPose, PxSweepHit sweepHit, PxHitFlags hitFlags)
shape - WebIDL type: PxShape [Const, Ref]actor - WebIDL type: PxRigidActor [Const, Ref]unitDir - WebIDL type: PxVec3 [Const, Ref]distance - WebIDL type: floatotherGeom - WebIDL type: PxGeometry [Const, Ref]otherGeomPose - WebIDL type: PxTransform [Const, Ref]sweepHit - WebIDL type: PxSweepHit [Ref]hitFlags - WebIDL type: PxHitFlags [Ref]public static PxBounds3 getWorldBounds(PxShape shape, PxRigidActor actor)
shape - WebIDL type: PxShape [Const, Ref]actor - WebIDL type: PxRigidActor [Const, Ref]PxBounds3 [Value]public static PxBounds3 getWorldBounds(PxShape shape, PxRigidActor actor, float inflation)
shape - WebIDL type: PxShape [Const, Ref]actor - WebIDL type: PxRigidActor [Const, Ref]inflation - WebIDL type: floatPxBounds3 [Value]