Class Replay
A replay is a generic representation of some recorded data that may be used to simulate a ride.
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
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
TimeInterval
Gets or sets the time interval of the selected recording file to play, in seconds.
Declaration
public Interval TimeInterval { get; set; }
Property Value
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