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
Namespace: UnityEditor.Recorder
Syntax
public class RecorderWindow : EditorWindow
Fields
MenuRoot
Declaration
public const string MenuRoot = "Window/Recorder/"
Field Value
Type | Description |
---|---|
String |
MenuRootIndex
Declaration
public const int MenuRootIndex = 2050
Field Value
Type | Description |
---|---|
Int32 |
Methods
IsRecording()
Used to get the current state of the recording.
Declaration
public bool IsRecording()
Returns
Type | Description |
---|---|
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()