Class LiveStreamPostProcessor
The base class for implementing a post-processor of a Live
Inherited Members
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
[ExecuteAlways]
[RequireComponent(typeof(LiveStreamCaptureDevice))]
public abstract class LiveStreamPostProcessor : MonoBehaviour
Properties
Device
The device containing the Live
Declaration
public LiveStreamCaptureDevice Device { get; }
Property Value
Type | Description |
---|---|
Live |
See Also
Methods
CreateLiveProperties(LiveStream)
Override this method to create new properties to the specified Live
Declaration
protected virtual void CreateLiveProperties(LiveStream stream)
Parameters
Type | Name | Description |
---|---|---|
Live |
stream | The Live |
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 Live
Declaration
protected abstract void PostProcessFrame(LiveStream stream)
Parameters
Type | Name | Description |
---|---|---|
Live |
stream | The Live |
See Also
RemoveLiveProperties(LiveStream)
Override this method to remove existing properties from the specified Live
Declaration
protected virtual void RemoveLiveProperties(LiveStream stream)
Parameters
Type | Name | Description |
---|---|---|
Live |
stream | The Live |