Package physx.physics
Class PxRaycastQueryResult
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxRaycastQueryResult
-
public class PxRaycastQueryResult extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxRaycastQueryResult()protectedPxRaycastQueryResult(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()PxRaycastHitgetAnyHit(int index)PxRaycastHitgetBlock()booleangetHasBlock()intgetNbAnyHits()intgetNbTouches()bytegetQueryStatus()PxRaycastHitgetTouches()NativeObjectgetUserData()voidsetBlock(PxRaycastHit value)voidsetHasBlock(boolean value)voidsetNbTouches(int value)voidsetQueryStatus(byte value)voidsetTouches(PxRaycastHit value)voidsetUserData(NativeObject value)static PxRaycastQueryResultwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxRaycastQueryResult wrapPointer(long address)
-
destroy
public void destroy()
-
getBlock
public PxRaycastHit getBlock()
- Returns:
- WebIDL type:
PxRaycastHit[Value]
-
setBlock
public void setBlock(PxRaycastHit value)
- Parameters:
value- WebIDL type:PxRaycastHit[Value]
-
getTouches
public PxRaycastHit getTouches()
- Returns:
- WebIDL type:
PxRaycastHit
-
setTouches
public void setTouches(PxRaycastHit value)
- Parameters:
value- WebIDL type:PxRaycastHit
-
getNbTouches
public int getNbTouches()
- Returns:
- WebIDL type: unsigned long
-
setNbTouches
public void setNbTouches(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getUserData
public NativeObject getUserData()
- Returns:
- WebIDL type: any
-
setUserData
public void setUserData(NativeObject value)
- Parameters:
value- WebIDL type: any
-
getQueryStatus
public byte getQueryStatus()
- Returns:
- WebIDL type: octet
-
setQueryStatus
public void setQueryStatus(byte value)
- Parameters:
value- WebIDL type: octet
-
getHasBlock
public boolean getHasBlock()
- Returns:
- WebIDL type: boolean
-
setHasBlock
public void setHasBlock(boolean value)
- Parameters:
value- WebIDL type: boolean
-
getNbAnyHits
public int getNbAnyHits()
- Returns:
- WebIDL type: unsigned long
-
getAnyHit
public PxRaycastHit getAnyHit(int index)
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxRaycastHit[Const, Ref]
-
-