java.lang.Object
physx.NativeObject
physx.extensions.PxGjkQueryExt
Pre-made support mapping for built-in convex geometry types.
-
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 PxGjkQueryExtarrayGet(long baseAddress, int index) voiddestroy()static booleangenerateContacts(Support a, Support b, PxTransform poseA, PxTransform poseB, float contactDistance, float toleranceLength, PxContactBuffer contactBuffer) static PxGjkQueryExtwrapPointer(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
-
PxGjkQueryExt
protected PxGjkQueryExt() -
PxGjkQueryExt
protected PxGjkQueryExt(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
generateContacts
public static boolean generateContacts(Support a, Support b, PxTransform poseA, PxTransform poseB, float contactDistance, float toleranceLength, PxContactBuffer contactBuffer) - Parameters:
a- WebIDL type:Support[Const, Ref]b- WebIDL type:Support[Const, Ref]poseA- WebIDL type:PxTransform[Const, Ref]poseB- WebIDL type:PxTransform[Const, Ref]contactDistance- WebIDL type: floattoleranceLength- WebIDL type: floatcontactBuffer- WebIDL type:PxContactBuffer[Ref]- Returns:
- WebIDL type: boolean
-