Class RecorderWindow
Main window class of the Unity Recorder. It can be accessed from an Editor script to show the Recorder Window and eventually Start and Stop the recording using current settings. Recorder settings are saved in Library/Recorder/recorder.pref
Inheritance
System.Object
RecorderWindow
Namespace: UnityEditor.Recorder
Syntax
public class RecorderWindow : EditorWindow
Methods
IsRecording()
Used to get the current state of the recording.
Declaration
public bool IsRecording()
Returns
Type | Description |
---|---|
System.Boolean | True if the Recorder is started or being started. False otherwise. |
StartRecording()
Used to Start the recording with current settings. If not already the case, the Editor will also switch to PlayMode.
Declaration
public void StartRecording()
StopRecording()
Used to Stop current recordings if any. Exiting PlayMode while the Recorder is recording will automatically Stop the recorder.
Declaration
public void StopRecording()