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