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

    Interface IInputManager

    Namespace: Unity.RenderStreaming
    Syntax
    public interface IInputManager

    Properties

    devices

    Declaration
    ReadOnlyArray<InputDevice> devices { get; }
    Property Value
    Type Description
    ReadOnlyArray<InputDevice>

    layouts

    Declaration
    IEnumerable<string> layouts { get; }
    Property Value
    Type Description
    IEnumerable<String>

    Methods

    AddDevice(String, String, String)

    Declaration
    InputDevice AddDevice(string layout, string name = null, string variants = null)
    Parameters
    Type Name Description
    String layout
    String name
    String variants
    Returns
    Type Description
    InputDevice

    GetDeviceById(Int32)

    Declaration
    InputDevice GetDeviceById(int deviceId)
    Parameters
    Type Name Description
    Int32 deviceId
    Returns
    Type Description
    InputDevice

    LoadLayout(String)

    Declaration
    InputControlLayout LoadLayout(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    InputControlLayout

    QueueEvent(InputEventPtr)

    Declaration
    void QueueEvent(InputEventPtr eventPtr)
    Parameters
    Type Name Description
    InputEventPtr eventPtr

    RegisterLayout(String, String, InputDeviceMatcher)

    Declaration
    void RegisterLayout(string json, string name = null, InputDeviceMatcher matches = null)
    Parameters
    Type Name Description
    String json
    String name
    InputDeviceMatcher matches

    RemoveDevice(InputDevice)

    Declaration
    void RemoveDevice(InputDevice device)
    Parameters
    Type Name Description
    InputDevice device

    RemoveLayout(String)

    Declaration
    void RemoveLayout(string name)
    Parameters
    Type Name Description
    String name

    SetDeviceUsage(InputDevice, String)

    Declaration
    void SetDeviceUsage(InputDevice device, string usage)
    Parameters
    Type Name Description
    InputDevice device
    String usage

    Events

    onDeviceChange

    Declaration
    event Action<InputDevice, InputDeviceChange> onDeviceChange
    Event Type
    Type Description
    Action<InputDevice, InputDeviceChange>

    onEvent

    Declaration
    event Action<InputEventPtr, InputDevice> onEvent
    Event Type
    Type Description
    Action<InputEventPtr, InputDevice>

    onLayoutChange

    Declaration
    event Action<string, InputControlLayoutChange> onLayoutChange
    Event Type
    Type Description
    Action<String, InputControlLayoutChange>

    onMessage

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