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

    Class InputReceiver

    Represents a separate player in the game complete with a set of actions exclusive to the player and a set of paired device. It is the simple version of UnityEngine.InputSystem.PlayerInput that removing dependency of InputControlScheme.

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    DataChannelBase
    InputChannelReceiverBase
    InputReceiver
    Inherited Members
    DataChannelBase.local
    DataChannelBase.label
    DataChannelBase.IsLocal
    DataChannelBase.Label
    DataChannelBase.IsConnected
    DataChannelBase.ConnectionId
    DataChannelBase.Channel
    DataChannelBase.OnStartedChannel
    DataChannelBase.OnStoppedChannel
    DataChannelBase.Send(Byte[])
    DataChannelBase.Send(String)
    DataChannelBase.SetChannel(SignalingEventData)
    DataChannelBase.OnMessage(Byte[])
    DataChannelBase.OnOpen(String)
    DataChannelBase.OnClose(String)
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
    Component.GetComponentInParent(Type)
    UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectOfType(Type)
    UnityEngine.Object.FindFirstObjectByType(System.Type)
    UnityEngine.Object.FindAnyObjectByType(System.Type)
    Object.FindObjectOfType(Type, Boolean)
    UnityEngine.Object.FindFirstObjectByType(System.Type, UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType(System.Type, UnityEngine.FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.RenderStreaming
    Syntax
    [AddComponentMenu("Render Streaming/Input Receiver")]
    public class InputReceiver : InputChannelReceiverBase, IDataChannel

    Properties

    actionEvents

    Declaration
    public ReadOnlyArray<PlayerInput.ActionEvent> actionEvents { get; set; }
    Property Value
    Type Description
    ReadOnlyArray<PlayerInput.ActionEvent>

    actions

    Declaration
    public InputActionAsset actions { get; set; }
    Property Value
    Type Description
    InputActionAsset

    currentActionMap

    Declaration
    public InputActionMap currentActionMap { get; set; }
    Property Value
    Type Description
    InputActionMap

    defaultActionMap

    Declaration
    public string defaultActionMap { get; set; }
    Property Value
    Type Description
    String

    devices

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

    inputIsActive

    Declaration
    public bool inputIsActive { get; }
    Property Value
    Type Description
    Boolean

    user

    Declaration
    public InputUser user { get; }
    Property Value
    Type Description
    InputUser

    Methods

    ActivateInput()

    Declaration
    public void ActivateInput()

    CalculateInputRegion(Vector2Int, Rect)

    Declaration
    public void CalculateInputRegion(Vector2Int size, Rect region)
    Parameters
    Type Name Description
    Vector2Int size

    Texture Size.

    Rect region

    Region of the texture in world coordinate system.

    DeactivateInput()

    Declaration
    public void DeactivateInput()

    Dispose()

    Declaration
    protected virtual void Dispose()

    OnDestroy()

    Declaration
    protected virtual void OnDestroy()

    OnDeviceChange(InputDevice, InputDeviceChange)

    Declaration
    protected virtual void OnDeviceChange(InputDevice device, InputDeviceChange change)
    Parameters
    Type Name Description
    InputDevice device
    InputDeviceChange change

    OnDisable()

    Declaration
    protected virtual void OnDisable()

    OnEnable()

    Declaration
    protected virtual void OnEnable()

    PerformPairingWithAllLocalDevices()

    Declaration
    public void PerformPairingWithAllLocalDevices()

    PerformPairingWithDevice(InputDevice)

    Declaration
    public void PerformPairingWithDevice(InputDevice device)
    Parameters
    Type Name Description
    InputDevice device

    SetChannel(String, RTCDataChannel)

    Declaration
    public override void SetChannel(string connectionId, RTCDataChannel channel)
    Parameters
    Type Name Description
    String connectionId
    RTCDataChannel channel
    Overrides
    DataChannelBase.SetChannel(String, RTCDataChannel)

    SetEnableInputPositionCorrection(Boolean)

    Declaration
    public void SetEnableInputPositionCorrection(bool enabled)
    Parameters
    Type Name Description
    Boolean enabled

    SwitchCurrentActionMap(String)

    Declaration
    public void SwitchCurrentActionMap(string mapNameOrId)
    Parameters
    Type Name Description
    String mapNameOrId

    UnpairDevices(InputDevice)

    Declaration
    public void UnpairDevices(InputDevice device)
    Parameters
    Type Name Description
    InputDevice device

    Events

    onDeviceChange

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