ReplayVariable Methods

Ultimate Replay

ReplayVariable Methods

The ReplayVariable type exposes the following members.

Methods
  Name Description
Public method Static member CanInterpolate
Returns true if the specified type can be interpolated by the replay system.
Public method Interpolate
Attempts to interpolate the ReplayVariable value using the values from the last and next frame.
Public method Static member InterpolateByte
Default interpolator for byte.
Public method Static member InterpolateColor
Default interpolator for Color.
Public method Static member InterpolateColor32
Default interpolator for Color32.
Public method Static member InterpolateDouble
Default interpolator for double.
Public method Static member InterpolateFloat
Default interpolator for float.
Public method Static member InterpolateInt
Default interpolator for int.
Public method Static member InterpolateLong
Default interpolator for long.
Public method Static member InterpolateQuat
Default interpolator for Quaternion.
Public method Static member InterpolateShort
Default interpolator for short.
Public method Static member InterpolateValue
Attempts to interpolate the ReplayVariable value using the values from the last and next frame. In order for interpolation to succeed, the last and next values must be of the same type.
Public method Static member InterpolateVec2
Default interpolator for Vector2.
Public method Static member InterpolateVec3
Default interpolator for Vector3.
Public method Static member InterpolateVec4
Default interpolator for Vector4.
Public method OnReplayDeserialize
Called by the replay system when the variable should be deserialized.
Public method OnReplaySerialize
Called by the replay system when the variable should be serialized.
Public method Static member RegisterCustomInterpolatorT
Allows a custom interpolation method to be registered so that unsupported variable types can be interpolated automatically.
Public method UpdateValueRange
Sets the current interpolation range for the ReplayVariable value.
Top
See Also