Beispiel #1
0
 /// <summary>Returns the owner fluid. </summary>
 public virtual NxFluid getFluid()
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxFluid.GetClass(NxFluidEmitter_getFluid_INVOKE(ClassPointer, doSetFunctionPointers)));
 }
Beispiel #2
0
 /// <summary>This is called during NxScene::fetchResults with fluids that have events. </summary>
 /// <param name="fluid">- The fluid which had the event. </param>
 /// <param name="eventType">- The event type. </param>
 public virtual bool onEvent(NxFluid fluid, NxFluidEventType eventType)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxFluidUserNotify_onEvent_INVOKE(ClassPointer, doSetFunctionPointers, (fluid != null ? fluid.ClassPointer : NullRef), eventType));
 }
Beispiel #3
0
 private bool onEvent_virtual(IntPtr fluid, NxFluidEventType eventType)
 {
     return(onEvent(NxFluid.GetClass(fluid), eventType));
 }