/// <summary>Called when a trigger shape reports a trigger event. </summary> /// <param name="triggerShape">is the shape that has been marked as a trigger. </param> /// <param name="otherShape">is the shape causing the trigger event. </param> /// <param name="status">is the type of trigger event.</param> public virtual void onTrigger(NxShape triggerShape, NxShape otherShape, NxShapeFlag status) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } NxUserTriggerReport_onTrigger_INVOKE(ClassPointer, doSetFunctionPointers, (triggerShape != null ? triggerShape.ClassPointer : NullRef), (otherShape != null ? otherShape.ClassPointer : NullRef), status); }
private extern static void NxUserTriggerReport_onTrigger_INVOKE(HandleRef classPointer, System.Boolean call_explicit, HandleRef triggerShape, HandleRef otherShape, NxShapeFlag status);
private void onTrigger_virtual(IntPtr triggerShape, IntPtr otherShape, NxShapeFlag status) { onTrigger(NxShape.GetClass(triggerShape), NxShape.GetClass(otherShape), status); }