Class RecorderWindow | Unity Recorder | 2.1.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    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
    Object
    RecorderWindow
    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()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023