NWH Common
Search Results for

    Show / Hide Table of Contents

    Struct SceneInputActions.SceneControlsActions

    Provides access to input actions defined in input action map "SceneControls".

    Namespace: NWH.Common.Input
    Assembly: NWH.Common.dll
    Syntax
    public struct SceneInputActions.SceneControlsActions

    Constructors

    | Edit this page View Source

    SceneControlsActions(SceneInputActions)

    Construct a new instance of the input action map wrapper class.

    Declaration
    public SceneControlsActions(SceneInputActions wrapper)
    Parameters
    Type Name Description
    SceneInputActions wrapper

    Properties

    | Edit this page View Source

    ChangeVehicle

    Provides access to the underlying input action "SceneControls/ChangeVehicle".

    Declaration
    public InputAction ChangeVehicle { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    DragObjectModifier

    Provides access to the underlying input action "SceneControls/DragObjectModifier".

    Declaration
    public InputAction DragObjectModifier { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    FPSMovement

    Provides access to the underlying input action "SceneControls/FPSMovement".

    Declaration
    public InputAction FPSMovement { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    ShowCursor

    Provides access to the underlying input action "SceneControls/ShowCursor".

    Declaration
    public InputAction ShowCursor { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    ToggleGUI

    Provides access to the underlying input action "SceneControls/ToggleGUI".

    Declaration
    public InputAction ToggleGUI { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    enabled

    Declaration
    public bool enabled { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    AddCallbacks(ISceneControlsActions)

    Adds UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed and UnityEngine.InputSystem.InputAction.canceled callbacks provided via on all input actions contained in this map.

    Declaration
    public void AddCallbacks(SceneInputActions.ISceneControlsActions instance)
    Parameters
    Type Name Description
    SceneInputActions.ISceneControlsActions instance

    Callback instance.

    Remarks

    If instance is null or instance have already been added this method does nothing.

    See Also
    SceneInputActions.SceneControlsActions
    | Edit this page View Source

    Disable()

    Declaration
    public void Disable()
    | Edit this page View Source

    Enable()

    Declaration
    public void Enable()
    | Edit this page View Source

    Get()

    Provides access to the underlying input action map instance.

    Declaration
    public InputActionMap Get()
    Returns
    Type Description
    InputActionMap
    | Edit this page View Source

    RemoveCallbacks(ISceneControlsActions)

    Unregisters and unregisters all input action callbacks via UnregisterCallbacks(ISceneControlsActions).

    Declaration
    public void RemoveCallbacks(SceneInputActions.ISceneControlsActions instance)
    Parameters
    Type Name Description
    SceneInputActions.ISceneControlsActions instance
    See Also
    UnregisterCallbacks(ISceneControlsActions)
    | Edit this page View Source

    SetCallbacks(ISceneControlsActions)

    Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .

    Declaration
    public void SetCallbacks(SceneInputActions.ISceneControlsActions instance)
    Parameters
    Type Name Description
    SceneInputActions.ISceneControlsActions instance
    Remarks

    If instance is null, calling this method will only unregister all existing callbacks but not register any new callbacks.

    See Also
    AddCallbacks(ISceneControlsActions)
    RemoveCallbacks(ISceneControlsActions)
    UnregisterCallbacks(ISceneControlsActions)

    Operators

    | Edit this page View Source

    implicit operator InputActionMap(SceneControlsActions)

    Implicitly converts an to an instance.

    Declaration
    public static implicit operator InputActionMap(SceneInputActions.SceneControlsActions set)
    Parameters
    Type Name Description
    SceneInputActions.SceneControlsActions set
    Returns
    Type Description
    InputActionMap
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics