docs.unity.cn
    Show / Hide Table of Contents

    Class RecorderControllerSettingsPreset

    Class that models a Recorder List (a stack of preset Recorder Settings instances) that you can save and load for reuse into a Recorder Window.

    Inheritance
    Object
    RecorderControllerSettingsPreset
    Namespace: UnityEditor.Recorder
    Syntax
    public class RecorderControllerSettingsPreset : ScriptableObject

    Methods

    ApplyTo(RecorderControllerSettings)

    Applies the current Recorder List to the specified RecorderControllerSettings instance.

    Declaration
    public void ApplyTo(RecorderControllerSettings prefs)
    Parameters
    Type Name Description
    RecorderControllerSettings prefs

    The RecorderControllerSettings instance to apply the Recorder List to.

    SaveAtPath(RecorderControllerSettings, String)

    Saves the specified Recorder List to a file on disk. Note that this method doesn't save Scene references (such as a GameObject reference in Animation Recorder Settings).

    Declaration
    public static void SaveAtPath(RecorderControllerSettings model, string path)
    Parameters
    Type Name Description
    RecorderControllerSettings model

    The Recorder List to save.

    String path

    The path on disk where to save the Recorder List. You must specify a path relative to the project.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Friday, November 5, 2021
    Terms of use