Class InputSender
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
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)
Namespace: Unity.RenderStreaming
Syntax
[AddComponentMenu("Render Streaming/Input Sender")]
public class InputSender : DataChannelBase, IDataChannel
Methods
CalculateInputResion(Rect, Vector2Int)
Declaration
public void CalculateInputResion(Rect region, Vector2Int size)
Parameters
Type | Name | Description |
---|---|---|
Rect | region | Region of the texture in world coordinate system. |
Vector2Int | size | Texture Size. |
Dispose()
Declaration
protected void Dispose()
EnableInputPositionCorrection(Boolean)
Declaration
public void EnableInputPositionCorrection(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
Boolean | enabled |
OnDestroy()
Declaration
protected virtual void OnDestroy()
SetChannel(String, RTCDataChannel)
Declaration
public override void SetChannel(string connectionId, RTCDataChannel channel)
Parameters
Type | Name | Description |
---|---|---|
String | connectionId | |
RTCDataChannel | channel |