docs.unity3d.com
    目次を表示する/隠す

    Class InputManager

    Inheritance
    Object
    InputManager
    Namespace: Unity.RenderStreaming
    Syntax
    public abstract class InputManager : IInputManager

    Properties

    devices

    Declaration
    public virtual ReadOnlyArray<InputDevice> devices { get; }
    Property Value
    Type Description
    ReadOnlyArray<InputDevice>
    Implements
    IInputManager.devices

    layouts

    Declaration
    public virtual IEnumerable<string> layouts { get; }
    Property Value
    Type Description
    IEnumerable<String>
    Implements
    IInputManager.layouts

    Methods

    AddDevice(String, String, String)

    Declaration
    public virtual InputDevice AddDevice(string layout, string name = null, string variants = null)
    Parameters
    Type Name Description
    String layout
    String name
    String variants
    Returns
    Type Description
    InputDevice
    Implements
    IInputManager.AddDevice(String, String, String)

    GetDeviceById(Int32)

    Declaration
    public virtual InputDevice GetDeviceById(int deviceId)
    Parameters
    Type Name Description
    Int32 deviceId
    Returns
    Type Description
    InputDevice
    Implements
    IInputManager.GetDeviceById(Int32)

    LoadLayout(String)

    Declaration
    public virtual InputControlLayout LoadLayout(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    InputControlLayout
    Implements
    IInputManager.LoadLayout(String)

    QueueEvent(InputEventPtr)

    Declaration
    public virtual void QueueEvent(InputEventPtr eventPtr)
    Parameters
    Type Name Description
    InputEventPtr eventPtr
    Implements
    IInputManager.QueueEvent(InputEventPtr)

    RegisterLayout(String, String, InputDeviceMatcher)

    Declaration
    public virtual void RegisterLayout(string json, string name = null, InputDeviceMatcher matches = null)
    Parameters
    Type Name Description
    String json
    String name
    InputDeviceMatcher matches
    Implements
    IInputManager.RegisterLayout(String, String, InputDeviceMatcher)

    RemoveDevice(InputDevice)

    Declaration
    public virtual void RemoveDevice(InputDevice device)
    Parameters
    Type Name Description
    InputDevice device
    Implements
    IInputManager.RemoveDevice(InputDevice)

    RemoveLayout(String)

    Declaration
    public virtual void RemoveLayout(string name)
    Parameters
    Type Name Description
    String name
    Implements
    IInputManager.RemoveLayout(String)

    SetDeviceUsage(InputDevice, String)

    Declaration
    public virtual void SetDeviceUsage(InputDevice device, string usage)
    Parameters
    Type Name Description
    InputDevice device
    String usage
    Implements
    IInputManager.SetDeviceUsage(InputDevice, String)

    Events

    onDeviceChange

    Declaration
    public virtual event Action<InputDevice, InputDeviceChange> onDeviceChange
    Event Type
    Type Description
    Action<InputDevice, InputDeviceChange>
    Implements
    IInputManager.onDeviceChange

    onEvent

    Declaration
    public virtual event Action<InputEventPtr, InputDevice> onEvent
    Event Type
    Type Description
    Action<InputEventPtr, InputDevice>
    Implements
    IInputManager.onEvent

    onLayoutChange

    Declaration
    public virtual event Action<string, InputControlLayoutChange> onLayoutChange
    Event Type
    Type Description
    Action<String, InputControlLayoutChange>
    Implements
    IInputManager.onLayoutChange

    onMessage

    Declaration
    public virtual event Action<InputRemoting.Message> onMessage
    Event Type
    Type Description
    Action<InputRemoting.Message>
    Implements
    IInputManager.onMessage
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)