Package physx.physics
Class JavaSimulationEventCallback
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxSimulationEventCallback
-
- physx.physics.SimpleSimulationEventCallback
-
- physx.physics.JavaSimulationEventCallback
-
public class JavaSimulationEventCallback extends SimpleSimulationEventCallback
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJavaSimulationEventCallback()protectedJavaSimulationEventCallback(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)static JavaSimulationEventCallbackwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static JavaSimulationEventCallback wrapPointer(long address)
-
destroy
public void destroy()
- Overrides:
destroyin classSimpleSimulationEventCallback
-
onConstraintBreak
public void onConstraintBreak(PxConstraintInfo constraints, int count)
- Overrides:
onConstraintBreakin classSimpleSimulationEventCallback- Parameters:
constraints- WebIDL type:PxConstraintInfocount- WebIDL type: unsigned long
-
onWake
public void onWake(PxActorPtr actors, int count)
- Overrides:
onWakein classSimpleSimulationEventCallback- Parameters:
actors- WebIDL type:PxActorPtrcount- WebIDL type: unsigned long
-
onSleep
public void onSleep(PxActorPtr actors, int count)
- Overrides:
onSleepin classSimpleSimulationEventCallback- Parameters:
actors- WebIDL type:PxActorPtrcount- WebIDL type: unsigned long
-
onContact
public void onContact(PxContactPairHeader pairHeader, PxContactPair pairs, int nbPairs)
- Overrides:
onContactin classSimpleSimulationEventCallback- Parameters:
pairHeader- WebIDL type:PxContactPairHeader[Const, Ref]pairs- WebIDL type:PxContactPair[Const]nbPairs- WebIDL type: unsigned long
-
onTrigger
public void onTrigger(PxTriggerPair pairs, int count)
- Overrides:
onTriggerin classSimpleSimulationEventCallback- Parameters:
pairs- WebIDL type:PxTriggerPaircount- WebIDL type: unsigned long
-
-