/// <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)); }
private extern static System.Boolean NxFluidUserNotify_onEvent_INVOKE(HandleRef classPointer, System.Boolean call_explicit, HandleRef fluid, NxFluidEventType eventType);
private bool onEvent_virtual(IntPtr fluid, NxFluidEventType eventType) { return(onEvent(NxFluid.GetClass(fluid), eventType)); }