docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SimulationRecordingManager

    Module responsible for setting up MR session recordings as data sources for simulation

    Inheritance
    object
    SimulationRecordingManager
    Implements
    IModuleDependency<SessionRecordingModule>
    IModuleDependency<QuerySimulationModule>
    IModuleDependency<MARSEnvironmentManager>
    IModuleAssetCallbacks
    IModule
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.MARS.Simulation
    Assembly: Unity.MARS.Editor.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public class SimulationRecordingManager : IModuleDependency<SessionRecordingModule>, IModuleDependency<QuerySimulationModule>, IModuleDependency<MARSEnvironmentManager>, IModuleAssetCallbacks, IModule

    Methods

    AddDataFromRecordingSession(SessionRecordingInfo)

    Adds data from the most recent recording session to the given recording

    Declaration
    public void AddDataFromRecordingSession(SessionRecordingInfo recordingInfo)
    Parameters
    Type Name Description
    SessionRecordingInfo recordingInfo

    The session recording to add data to

    RefreshSessionRecordings()

    Refresh the list of available recordings

    Declaration
    [MenuItem("Window/MARS/Developer/Refresh Session Recordings", priority = 2096)]
    public static void RefreshSessionRecordings()

    SetRecordingOptionAndRestartSimulation(int)

    Sets an optional recording to use with the current environment and triggers simulation restart

    Declaration
    public void SetRecordingOptionAndRestartSimulation(int optionIndex)
    Parameters
    Type Name Description
    int optionIndex

    Index of the recording to use, where 0 means no recording should be used

    SetupNextRecordingAndRestartSimulation()

    Sets up the next recording for the current environment and triggers simulation restart

    Declaration
    public void SetupNextRecordingAndRestartSimulation()

    SetupPrevRecordingAndRestartSimulation()

    Sets up the previous recording for the current environment and triggers simulation restart

    Declaration
    public void SetupPrevRecordingAndRestartSimulation()

    TrySaveSyntheticRecording()

    Prompts to save a Timeline of the current session recording and add it to the current synthetic environment

    Declaration
    public void TrySaveSyntheticRecording()

    ValidateIndependentRecordings()

    Validate an independent recording session

    Declaration
    public void ValidateIndependentRecordings()

    ValidateSyntheticRecordings()

    Validate a recording of a synthetic environment session

    Declaration
    public void ValidateSyntheticRecordings()

    Events

    RecordingOptionChanged

    Callback for when a recording option has changed

    Declaration
    public event Action RecordingOptionChanged
    Event Type
    Type Description
    Action

    Implements

    Unity.XRTools.ModuleLoader.IModuleDependency<T>
    Unity.XRTools.ModuleLoader.IModuleDependency<T>
    Unity.XRTools.ModuleLoader.IModuleDependency<T>
    Unity.XRTools.ModuleLoader.IModuleAssetCallbacks
    Unity.XRTools.ModuleLoader.IModule
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)