holoride
Search Results for

    Show / Hide Table of Contents

    Class Replay

    A replay is a generic representation of some recorded data that may be used to simulate a ride.

    Inheritance
    object
    Object
    ScriptableObject
    Replay
    Namespace: Holoride.ElasticSDK
    Assembly: Holoride.ElasticSDK.Library.Runtime.dll
    Syntax
    public abstract class Replay : ScriptableObject

    Fields

    timeInterval

    Declaration
    [Tooltip("The time interval of the selected recording file to play, in seconds.")]
    [SerializeField]
    protected Interval timeInterval
    Field Value
    Type Description
    Interval

    Properties

    Route

    Gets the route representing the data returned by the GetStream() method but not limited to the selected interval. This is used for route related information but can be null.

    Declaration
    public abstract Route Route { get; }
    Property Value
    Type Description
    Route

    TimeInterval

    Gets or sets the time interval of the selected recording file to play, in seconds.

    Declaration
    public Interval TimeInterval { get; set; }
    Property Value
    Type Description
    Interval

    Methods

    GetStream()

    Returns a IReplayStream that may be used to iterate over the data in this replay.

    Declaration
    public abstract IReplayStream GetStream()
    Returns
    Type Description
    IReplayStream

    The stream used for playing back this replay.

    OnValidate()

    Declaration
    protected virtual void OnValidate()

    UnclampedSecondsToMicroseconds(double)

    Declaration
    protected static long UnclampedSecondsToMicroseconds(double value)
    Parameters
    Type Name Description
    double value
    Returns
    Type Description
    long
    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint