java.lang.Object
physx.NativeObject
physx.physics.PxContactPair
-
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 PxContactPairarrayGet(long baseAddress, int index) voiddestroy()intextractContacts(PxContactPairPoint userBuffer, int bufferSize) bytegetFlags()bytegetShapes(int index) voidsetContactCount(byte value) voidsetEvents(PxPairFlags value) voidsetFlags(PxContactPairFlags value) voidsetPatchCount(byte value) voidstatic PxContactPairwrapPointer(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
-
PxContactPair
protected PxContactPair() -
PxContactPair
protected PxContactPair(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getShapes
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxShape
-
setShapes
- Parameters:
index- Array indexvalue- WebIDL type:PxShape
-
getContactCount
public byte getContactCount()- Returns:
- WebIDL type: octet
-
setContactCount
public void setContactCount(byte value) - Parameters:
value- WebIDL type: octet
-
getPatchCount
public byte getPatchCount()- Returns:
- WebIDL type: octet
-
setPatchCount
public void setPatchCount(byte value) - Parameters:
value- WebIDL type: octet
-
getFlags
- Returns:
- WebIDL type:
PxContactPairFlags[Value]
-
setFlags
- Parameters:
value- WebIDL type:PxContactPairFlags[Value]
-
getEvents
- Returns:
- WebIDL type:
PxPairFlags[Value]
-
setEvents
- Parameters:
value- WebIDL type:PxPairFlags[Value]
-
extractContacts
- Parameters:
userBuffer- WebIDL type:PxContactPairPointbufferSize- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-