java.lang.Object
physx.NativeObject
physx.physics.PxRaycastCallback
physx.physics.PxRaycastResult
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxRaycastResultarrayGet(long baseAddress, int index) voiddestroy()getAnyHit(int index) getBlock()booleanintintgetTouch(int index) voidsetBlock(PxRaycastHit value) voidsetHasBlock(boolean value) static PxRaycastResultwrapPointer(long address) Methods inherited from class physx.physics.PxRaycastCallback
hasAnyHitsMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxRaycastResult
protected PxRaycastResult(long address) -
PxRaycastResult
public PxRaycastResult()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxRaycastCallback
-
getBlock
- Returns:
- WebIDL type:
PxRaycastHit[Value]
-
setBlock
- Parameters:
value- WebIDL type:PxRaycastHit[Value]
-
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
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxRaycastHit[Const, Ref]
-
getNbTouches
public int getNbTouches()- Returns:
- WebIDL type: unsigned long
-
getTouch
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxRaycastHit[Const, Ref]
-