java.lang.Object
physx.NativeObject
physx.extensions.PxGjkQueryRaycastResult
-
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 PxGjkQueryRaycastResultarrayGet(long baseAddress, int index) static PxGjkQueryRaycastResultcreateAt(long address) static <T> PxGjkQueryRaycastResultcreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()getN()getP()booleanfloatgetT()voidvoidvoidsetSuccess(boolean value) voidsetT(float value) static PxGjkQueryRaycastResultwrapPointer(long address) Methods 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
-
PxGjkQueryRaycastResult
protected PxGjkQueryRaycastResult(long address) -
PxGjkQueryRaycastResult
public PxGjkQueryRaycastResult()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxGjkQueryRaycastResult
-
createAt
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.- Returns:
- Stack allocated object of PxGjkQueryRaycastResult
-
destroy
public void destroy() -
getSuccess
public boolean getSuccess()- Returns:
- WebIDL type: boolean
-
setSuccess
public void setSuccess(boolean value) - Parameters:
value- WebIDL type: boolean
-
getT
public float getT()- Returns:
- WebIDL type: float
-
setT
public void setT(float value) - Parameters:
value- WebIDL type: float
-
getN
- Returns:
- WebIDL type:
PxVec3[Value]
-
setN
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getP
- Returns:
- WebIDL type:
PxVec3[Value]
-
setP
- Parameters:
value- WebIDL type:PxVec3[Value]
-