示例#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));
 }
示例#2
0
 private bool onEmitterEvent_virtual(IntPtr emitter, NxFluidEmitterEventType eventType)
 {
     return(onEmitterEvent(NxFluidEmitter.GetClass(emitter), eventType));
 }