public class PxLocationHit extends PxQueryHit
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxLocationHit() |
protected |
PxLocationHit(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
float |
getDistance() |
PxHitFlags |
getFlags() |
PxVec3 |
getNormal() |
PxVec3 |
getPosition() |
void |
setDistance(float value) |
void |
setFlags(PxHitFlags value) |
void |
setNormal(PxVec3 value) |
void |
setPosition(PxVec3 value) |
static PxLocationHit |
wrapPointer(long address) |
getFaceIndex, setFaceIndexgetActor, getShape, setActor, setShapecheckNotNull, equals, getAddress, hashCodeprotected PxLocationHit()
protected PxLocationHit(long address)
public static PxLocationHit wrapPointer(long address)
public void destroy()
destroy in class PxQueryHitpublic PxHitFlags getFlags()
PxHitFlags [Value]public void setFlags(PxHitFlags value)
value - WebIDL type: PxHitFlags [Value]public float getDistance()
public void setDistance(float value)
value - WebIDL type: float