Package physx.physics
Class PxLocationHit
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxActorShape
-
- physx.physics.PxQueryHit
-
- physx.physics.PxLocationHit
-
- Direct Known Subclasses:
PxRaycastHit,PxSweepHit
public class PxLocationHit extends PxQueryHit
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxLocationHit()protectedPxLocationHit(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetDistance()PxHitFlagsgetFlags()PxVec3getNormal()PxVec3getPosition()voidsetDistance(float value)voidsetFlags(PxHitFlags value)voidsetNormal(PxVec3 value)voidsetPosition(PxVec3 value)static PxLocationHitwrapPointer(long address)-
Methods inherited from class physx.physics.PxQueryHit
getFaceIndex, setFaceIndex
-
Methods inherited from class physx.physics.PxActorShape
getActor, getShape, setActor, setShape
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxLocationHit wrapPointer(long address)
-
destroy
public void destroy()
- Overrides:
destroyin classPxQueryHit
-
getFlags
public PxHitFlags getFlags()
- Returns:
PxHitFlags[Value]
-
setFlags
public void setFlags(PxHitFlags value)
- Parameters:
value-PxHitFlags[Value]
-
getDistance
public float getDistance()
- Returns:
- float
-
setDistance
public void setDistance(float value)
- Parameters:
value- float
-
-