java.lang.Object
physx.NativeObject
physx.physics.PxContactPairHeader
An Instance of this class is passed to PxSimulationEventCallback.onContact().
-
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 PxContactPairHeaderarrayGet(long baseAddress, int index) voiddestroy()getActors(int index) getFlags()Additional information on the contact report pair.intnumber of contact pairsgetPairs()voidvoidsetFlags(PxContactPairHeaderFlags value) Additional information on the contact report pair.voidsetNbPairs(int value) number of contact pairsvoidsetPairs(PxContactPair value) static PxContactPairHeaderwrapPointer(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
-
PxContactPairHeader
protected PxContactPairHeader() -
PxContactPairHeader
protected PxContactPairHeader(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getActors
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxActor
-
setActors
- Parameters:
index- Array indexvalue- WebIDL type:PxActor
-
getFlags
Additional information on the contact report pair. -
setFlags
Additional information on the contact report pair. -
getPairs
- Returns:
- WebIDL type:
PxContactPair[Const]
-
setPairs
- Parameters:
value- WebIDL type:PxContactPair[Const]
-
getNbPairs
public int getNbPairs()number of contact pairs -
setNbPairs
public void setNbPairs(int value) number of contact pairs
-