Class LiveStreamPostProcessor
The base class for implementing a post-processor of a LiveStream.
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.LiveCapture
Syntax
[ExecuteAlways]
[RequireComponent(typeof(LiveStreamCaptureDevice))]
public abstract class LiveStreamPostProcessor : MonoBehaviour
Properties
Device
The device containing the LiveStream to post-process.
Declaration
public LiveStreamCaptureDevice Device { get; }
Property Value
| Type | Description |
|---|---|
| LiveStreamCaptureDevice |
Methods
CreateLiveProperties(LiveStream)
Override this method to create new properties to the specified LiveStream.
Declaration
protected virtual void CreateLiveProperties(LiveStream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| LiveStream | stream | The LiveStream to create properties to. |
OnDisable()
Unity calls this method when the component is about to get disabled.
Declaration
protected virtual void OnDisable()
Remarks
If you override this method, call the base method in your implementation.
OnEnable()
Unity calls this method when the component is about to get enabled.
Declaration
protected virtual void OnEnable()
Remarks
If you override this method, call the base method in your implementation.
PostProcessFrame(LiveStream)
Override this method to post-process the specified LiveStream.
Declaration
protected abstract void PostProcessFrame(LiveStream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| LiveStream | stream | The LiveStream to modify. |
RemoveLiveProperties(LiveStream)
Override this method to remove existing properties from the specified LiveStream.
Declaration
protected virtual void RemoveLiveProperties(LiveStream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| LiveStream | stream | The LiveStream to remove properties from. |