Beispiel #1
0
 /// <summary>This is called during NxScene::fetchResults with fluid emitters that have events. </summary>
 /// <param name="emitter">- The emitter which had the event. </param>
 /// <param name="eventType">- The event type. </param>
 public virtual bool onEmitterEvent(NxFluidEmitter emitter, NxFluidEmitterEventType eventType)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxFluidUserNotify_onEmitterEvent_INVOKE(ClassPointer, doSetFunctionPointers, (emitter != null ? emitter.ClassPointer : NullRef), eventType));
 }
Beispiel #2
0
 private extern static System.Boolean NxFluidUserNotify_onEmitterEvent_INVOKE(HandleRef classPointer, System.Boolean call_explicit, HandleRef emitter, NxFluidEmitterEventType eventType);
Beispiel #3
0
 private bool onEmitterEvent_virtual(IntPtr emitter, NxFluidEmitterEventType eventType)
 {
     return(onEmitterEvent(NxFluidEmitter.GetClass(emitter), eventType));
 }