docs.unity3d.com
    Show / Hide Table of Contents

    Class SimulationRecordingManager

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

    Inheritance
    Object
    SimulationRecordingManager
    Namespace: UnityEditor.MARS.Simulation
    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()

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

    SetRecordingOptionAndRestartSimulation(Int32)

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

    Declaration
    public void SetRecordingOptionAndRestartSimulation(int optionIndex)
    Parameters
    Type Name Description
    Int32 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()

    Declaration
    public void ValidateIndependentRecordings()

    ValidateSyntheticRecordings()

    Declaration
    public void ValidateSyntheticRecordings()

    Events

    RecordingOptionChanged

    Declaration
    public event Action RecordingOptionChanged
    Event Type
    Type Description
    Action

    Explicit Interface Implementations

    IModule.LoadModule()

    Declaration
    void IModule.LoadModule()
    Implements
    IModule.LoadModule()

    IModule.UnloadModule()

    Declaration
    void IModule.UnloadModule()
    Implements
    IModule.UnloadModule()

    IModuleAssetCallbacks.OnWillCreateAsset(String)

    Declaration
    void IModuleAssetCallbacks.OnWillCreateAsset(string path)
    Parameters
    Type Name Description
    String path
    Implements
    Unity.XRTools.ModuleLoader.IModuleAssetCallbacks.OnWillCreateAsset(System.String)

    IModuleAssetCallbacks.OnWillDeleteAsset(String, RemoveAssetOptions)

    Declaration
    AssetDeleteResult IModuleAssetCallbacks.OnWillDeleteAsset(string path, RemoveAssetOptions options)
    Parameters
    Type Name Description
    String path
    RemoveAssetOptions options
    Returns
    Type Description
    AssetDeleteResult
    Implements
    Unity.XRTools.ModuleLoader.IModuleAssetCallbacks.OnWillDeleteAsset(System.String, UnityEditor.RemoveAssetOptions)

    IModuleAssetCallbacks.OnWillSaveAssets(String[])

    Declaration
    string[] IModuleAssetCallbacks.OnWillSaveAssets(string[] paths)
    Parameters
    Type Name Description
    String[] paths
    Returns
    Type Description
    String[]
    Implements
    Unity.XRTools.ModuleLoader.IModuleAssetCallbacks.OnWillSaveAssets(System.String[])

    IModuleDependency<SessionRecordingModule>.ConnectDependency(SessionRecordingModule)

    Declaration
    void IModuleDependency<SessionRecordingModule>.ConnectDependency(SessionRecordingModule dependency)
    Parameters
    Type Name Description
    SessionRecordingModule dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)

    IModuleDependency<MARSEnvironmentManager>.ConnectDependency(MARSEnvironmentManager)

    Declaration
    void IModuleDependency<MARSEnvironmentManager>.ConnectDependency(MARSEnvironmentManager dependency)
    Parameters
    Type Name Description
    MARSEnvironmentManager dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)

    IModuleDependency<QuerySimulationModule>.ConnectDependency(QuerySimulationModule)

    Declaration
    void IModuleDependency<QuerySimulationModule>.ConnectDependency(QuerySimulationModule dependency)
    Parameters
    Type Name Description
    QuerySimulationModule dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)
    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