docs.unity3d.com
    Show / Hide Table of Contents

    Class MarsRecordingPlaybackModule

    Module that controls playback of a session recording Timeline in Simulation

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<MarsRecordingPlaybackModule>
    EditorScriptableSettings<MarsRecordingPlaybackModule>
    MarsRecordingPlaybackModule
    Inherited Members
    EditorScriptableSettings<MarsRecordingPlaybackModule>.instance
    ScriptableSettingsBase<MarsRecordingPlaybackModule>.k_HasCustomPath
    ScriptableSettingsBase<MarsRecordingPlaybackModule>.s_Instance
    ScriptableSettingsBase<MarsRecordingPlaybackModule>.Save(String)
    ScriptableSettingsBase<MarsRecordingPlaybackModule>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    Namespace: UnityEditor.MARS.Simulation
    Syntax
    [MovedFrom("Unity.MARS.Recording")]
    public class MarsRecordingPlaybackModule : EditorScriptableSettings<MarsRecordingPlaybackModule>, IModuleDependency<QuerySimulationModule>, IModuleDependency<MARSSceneModule>, IModuleDependency<SimulationRecordingManager>, IModuleMarsUpdate, IModuleBehaviorCallbacks, IModule

    Fields

    AutoSyncTooltip

    Declaration
    public const string AutoSyncTooltip = "When enabled, Simulation will automatically restart when the time in the session recording Timeline is changed"
    Field Value
    Type Description
    String

    Properties

    AutoSyncWithTimeChanges

    Whether Simulation should automatically restart when the time in the session recording Timeline is changed

    Declaration
    public bool AutoSyncWithTimeChanges { get; set; }
    Property Value
    Type Description
    Boolean

    IsRecordingAvailable

    Whether Simulation is currently using a session recording

    Declaration
    public bool IsRecordingAvailable { get; }
    Property Value
    Type Description
    Boolean

    IsRecordingPaused

    Whether there is an active session recording for Simulation and it is currently paused

    Declaration
    public bool IsRecordingPaused { get; }
    Property Value
    Type Description
    Boolean

    IsRecordingPlaying

    Whether the session recording for Simulation is currently playing

    Declaration
    public bool IsRecordingPlaying { get; }
    Property Value
    Type Description
    Boolean

    SyncEndTime

    The time at which Simulation finishes syncing with the Timeline. This is the time in the Timeline at the moment before Simulation automatically restarted.

    Declaration
    public double SyncEndTime { get; }
    Property Value
    Type Description
    Double

    TimelineSyncProgress

    Progress of time while Simulation is syncing with the Timeline. This is a value between 0 and 1 where 0 means Simulation has just started syncing and time is 0, and 1 means Simulation is done syncing and time is SyncEndTime.

    Declaration
    public float TimelineSyncProgress { get; }
    Property Value
    Type Description
    Single

    TimelineSyncState

    The state of Simulation in relation to the current time in the session recording Timeline

    Declaration
    public SimulationTimeSyncState TimelineSyncState { get; }
    Property Value
    Type Description
    SimulationTimeSyncState

    Events

    RecordingEndReached

    Called when recording playback has reached the end of the Timeline

    Declaration
    public event Action RecordingEndReached
    Event Type
    Type Description
    Action

    Explicit Interface Implementations

    IModuleMarsUpdate.OnMarsUpdate()

    Declaration
    void IModuleMarsUpdate.OnMarsUpdate()
    Implements
    IModuleMarsUpdate.OnMarsUpdate()

    IModule.LoadModule()

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

    IModule.UnloadModule()

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

    IModuleBehaviorCallbacks.OnBehaviorAwake()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorAwake()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorAwake()

    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorDestroy()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    IModuleBehaviorCallbacks.OnBehaviorDisable()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorDisable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDisable()

    IModuleBehaviorCallbacks.OnBehaviorEnable()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorEnable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorEnable()

    IModuleBehaviorCallbacks.OnBehaviorStart()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorStart()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorStart()

    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorUpdate()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    IModuleDependency<MARSSceneModule>.ConnectDependency(MARSSceneModule)

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

    IModuleDependency<SimulationRecordingManager>.ConnectDependency(SimulationRecordingManager)

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