ReplayTime Class

Ultimate Replay

ReplayTime Class
This class emulates the behaviour of the Time class in Unity and can be used to modify the playback speed of a replay. There are also delta values that can be used to interpolate between frames where a low record frame rate is used. See ReplayTransform for an example.
Inheritance Hierarchy
SystemObject  UltimateReplayReplayTime

Namespace: UltimateReplay
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class ReplayTime

The ReplayTime type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetCorrectedTimeValueString
Gets the current time as a float and converts it to minutes and seconds formatted as a string.
Top
Properties
  NameDescription
Public propertyStatic memberDelta
Represents a delta between current replay frames. This normalized value can be used to interpolate smoothly between replay states where a low record rate is used. Note: this value is not the actual delta time but a value representing the transition progress between replay frames.
Public propertyStatic memberTime
Get the current replay playback time.
Public propertyStatic memberTimeScale
The time scale value used during replay playback. This value is ignored during replay recording.
Top
See Also