Search Results for

    Show / Hide Table of Contents

    Delegate Window.MouseButtonDelegate

    Perform mouse buttons action.

    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public delegate void MouseButtonDelegate(ref Vector2 mouse, MouseButton button, ref bool handled);
    Parameters
    Vector2 mouse

    The mouse position.

    MouseButton button

    The mouse buttons state.

    System.Boolean handled

    The flag that indicated that event has been handled by the custom code and should not be passed further. By default it is set to false.

    Constructors

    MouseButtonDelegate(Object, IntPtr)

    Declaration
    public MouseButtonDelegate(object object, IntPtr method)
    Parameters
    System.Object object

    System.IntPtr method

    Methods

    BeginInvoke(ref Vector2, MouseButton, ref Boolean, AsyncCallback, Object)

    Declaration
    public virtual IAsyncResult BeginInvoke(ref Vector2 mouse, MouseButton button, ref bool handled, AsyncCallback callback, object object)
    Parameters
    Vector2 mouse

    MouseButton button

    System.Boolean handled

    System.AsyncCallback callback

    System.Object object

    Returns
    System.IAsyncResult

    EndInvoke(ref Vector2, ref Boolean, IAsyncResult)

    Declaration
    public virtual void EndInvoke(ref Vector2 mouse, ref bool handled, IAsyncResult result)
    Parameters
    Vector2 mouse

    System.Boolean handled

    System.IAsyncResult result

    Invoke(ref Vector2, MouseButton, ref Boolean)

    Declaration
    public virtual void Invoke(ref Vector2 mouse, MouseButton button, ref bool handled)
    Parameters
    Vector2 mouse

    MouseButton button

    System.Boolean handled

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2021 Wojciech Figat