java.lang.Object
physx.NativeObject
physx.physics.PxSimulationEventCallback
physx.physics.SimpleSimulationEventCallback
physx.physics.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
-
PxSimulationEventCallbackImpl
protected PxSimulationEventCallbackImpl(long address) -
PxSimulationEventCallbackImpl
protected PxSimulationEventCallbackImpl()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classSimpleSimulationEventCallback
-
onConstraintBreak
- Overrides:
onConstraintBreakin classSimpleSimulationEventCallback- Parameters:
constraints- WebIDL type:PxConstraintInfocount- WebIDL type: unsigned long
-
onWake
- Overrides:
onWakein classSimpleSimulationEventCallback- Parameters:
actors- WebIDL type:PxActorPtrcount- WebIDL type: unsigned long
-
onSleep
- Overrides:
onSleepin classSimpleSimulationEventCallback- Parameters:
actors- WebIDL type:PxActorPtrcount- WebIDL type: unsigned long
-
onContact
- Overrides:
onContactin classSimpleSimulationEventCallback- Parameters:
pairHeader- WebIDL type:PxContactPairHeader[Const, Ref]pairs- WebIDL type:PxContactPair[Const]nbPairs- WebIDL type: unsigned long
-
onTrigger
- Overrides:
onTriggerin classSimpleSimulationEventCallback- Parameters:
pairs- WebIDL type:PxTriggerPaircount- WebIDL type: unsigned long
-