Search Results for

    Show / Hide Table of Contents

    Class EditorViewport.Input

    Gathered input data.

    Inheritance
    System.Object
    EditorViewport.Input
    Namespace: FlaxEditor.Viewport
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public sealed class Input : ValueType

    Fields

    IsAltDown

    The is alt down flag.

    Declaration
    public bool IsAltDown
    Field Value
    System.Boolean

    IsControlDown

    The is control down flag.

    Declaration
    public bool IsControlDown
    Field Value
    System.Boolean

    IsMouseLeftDown

    The is mouse left down flag.

    Declaration
    public bool IsMouseLeftDown
    Field Value
    System.Boolean

    IsMouseMiddleDown

    The is mouse middle down flag.

    Declaration
    public bool IsMouseMiddleDown
    Field Value
    System.Boolean

    IsMouseRightDown

    The is mouse right down flag.

    Declaration
    public bool IsMouseRightDown
    Field Value
    System.Boolean

    IsMoving

    The is moving state.

    Declaration
    public bool IsMoving
    Field Value
    System.Boolean

    IsOrbiting

    The is orbiting state.

    Declaration
    public bool IsOrbiting
    Field Value
    System.Boolean

    IsPanning

    The is panning state.

    Declaration
    public bool IsPanning
    Field Value
    System.Boolean

    IsRotating

    The is rotating state.

    Declaration
    public bool IsRotating
    Field Value
    System.Boolean

    IsShiftDown

    The is shift down flag.

    Declaration
    public bool IsShiftDown
    Field Value
    System.Boolean

    IsZooming

    The is zooming state.

    Declaration
    public bool IsZooming
    Field Value
    System.Boolean

    MouseWheelDelta

    The mouse wheel delta.

    Declaration
    public float MouseWheelDelta
    Field Value
    System.Single

    WasAltDownBefore

    The is alt down flag cached from the previous input. Used to make IsControllingMouse consistent when user releases Alt while orbiting with Alt+LMB.

    Declaration
    public bool WasAltDownBefore
    Field Value
    System.Boolean

    Properties

    IsControllingMouse

    Gets a value indicating whether use is controlling mouse.

    Declaration
    public bool IsControllingMouse { get; }
    Property Value
    System.Boolean

    Methods

    Clear()

    Clears the data.

    Declaration
    public void Clear()

    Gather(Window, Boolean, ref EditorViewport.Input)

    Gathers input from the specified window.

    Declaration
    public void Gather(Window window, bool useMouse, ref EditorViewport.Input prevInput)
    Parameters
    Window window

    The window.

    System.Boolean useMouse

    True if use mouse input, otherwise will skip mouse.

    EditorViewport.Input prevInput

    Previous input state.

    Extension Methods

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