public class JavaSimulationEventCallback extends SimpleSimulationEventCallback
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
JavaSimulationEventCallback() |
protected |
JavaSimulationEventCallback(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
onConstraintBreak(PxConstraintInfo constraints,
int count) |
void |
onContact(PxContactPairHeader pairHeader,
PxContactPair pairs,
int nbPairs) |
void |
onSleep(PxActorPtr actors,
int count) |
void |
onTrigger(PxTriggerPair pairs,
int count) |
void |
onWake(PxActorPtr actors,
int count) |
static JavaSimulationEventCallback |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected JavaSimulationEventCallback(long address)
protected JavaSimulationEventCallback()
public static JavaSimulationEventCallback wrapPointer(long address)
public void destroy()
destroy in class SimpleSimulationEventCallbackpublic void onConstraintBreak(PxConstraintInfo constraints, int count)
onConstraintBreak in class SimpleSimulationEventCallbackconstraints - WebIDL type: PxConstraintInfocount - WebIDL type: unsigned longpublic void onWake(PxActorPtr actors, int count)
onWake in class SimpleSimulationEventCallbackactors - WebIDL type: PxActorPtrcount - WebIDL type: unsigned longpublic void onSleep(PxActorPtr actors, int count)
onSleep in class SimpleSimulationEventCallbackactors - WebIDL type: PxActorPtrcount - WebIDL type: unsigned longpublic void onContact(PxContactPairHeader pairHeader, PxContactPair pairs, int nbPairs)
onContact in class SimpleSimulationEventCallbackpairHeader - WebIDL type: PxContactPairHeader [Const, Ref]pairs - WebIDL type: PxContactPair [Const]nbPairs - WebIDL type: unsigned longpublic void onTrigger(PxTriggerPair pairs, int count)
onTrigger in class SimpleSimulationEventCallbackpairs - WebIDL type: PxTriggerPaircount - WebIDL type: unsigned long