Class LiveStreamCaptureDeviceEditor
The default Inspector for LiveStreamCaptureDevice.
Inherited Members
Editor.MoveNextTarget()
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.Editor
Assembly: Unity.LiveCapture.Editor.dll
Syntax
[CustomEditor(typeof(LiveStreamCaptureDevice), true)]
public abstract class LiveStreamCaptureDeviceEditor : Editor
Methods
DrawDefaultLiveStreamInspector(Transform)
Makes a custom inspector GUI for LiveStreamCaptureDevice.
Declaration
protected void DrawDefaultLiveStreamInspector(Transform root = null)
Parameters
Type | Name | Description |
---|---|---|
Transform | root | The root transform of the live stream. |
GetRequiredComponents()
Override this method to specify required components that can't be inferred from the stream.
Declaration
protected virtual IEnumerable<Type> GetRequiredComponents()
Returns
Type | Description |
---|---|
IEnumerable<Type> | An enumeration of component types to be added at the root transform. |
Remarks
The components will be added at the root transform.
OnInspectorGUI()
Implement this function to make a custom inspector.
Declaration
public override void OnInspectorGUI()