java.lang.Object
physx.NativeObject
physx.physics.PxSimulationEventCallback
physx.physics.SimpleSimulationEventCallback
- Direct Known Subclasses:
PxSimulationEventCallbackImpl
-
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 TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()voidonConstraintBreak(PxConstraintInfo constraints, int count) voidonContact(PxContactPairHeader pairHeader, PxContactPair pairs, int nbPairs) voidonSleep(PxActorPtr actors, int count) voidonTrigger(PxTriggerPair pairs, int count) voidonWake(PxActorPtr actors, int count) wrapPointer(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
-
SimpleSimulationEventCallback
protected SimpleSimulationEventCallback() -
SimpleSimulationEventCallback
protected SimpleSimulationEventCallback(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxSimulationEventCallback
-
onConstraintBreak
- Parameters:
constraints- WebIDL type:PxConstraintInfocount- WebIDL type: unsigned long
-
onWake
- Parameters:
actors- WebIDL type:PxActorPtrcount- WebIDL type: unsigned long
-
onSleep
- Parameters:
actors- WebIDL type:PxActorPtrcount- WebIDL type: unsigned long
-
onContact
- Parameters:
pairHeader- WebIDL type:PxContactPairHeader[Const, Ref]pairs- WebIDL type:PxContactPair[Const]nbPairs- WebIDL type: unsigned long
-
onTrigger
- Parameters:
pairs- WebIDL type:PxTriggerPaircount- WebIDL type: unsigned long
-