Class LiveStreamPostProcessor
The base class for implementing a post-processor of a LiveStream.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
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 |
See Also
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. |
See Also
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.
See Also
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.
See Also
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. |
See Also
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. |