Ultimate Replay Scripting Reference
ReplayVariable Methods |
The ReplayVariable type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanInterpolate |
Returns true if the specified type can be interpolated by the replay system.
|
|
Interpolate |
Attempts to interpolate the ReplayVariable value using the values from the last and next frame.
|
|
InterpolateByte |
Default interpolator for byte.
|
|
InterpolateColor |
Default interpolator for Color.
|
|
InterpolateColor32 |
Default interpolator for Color32.
|
|
InterpolateDouble |
Default interpolator for double.
|
|
InterpolateFloat |
Default interpolator for float.
|
|
InterpolateInt |
Default interpolator for int.
|
|
InterpolateLong |
Default interpolator for long.
|
|
InterpolateQuat |
Default interpolator for Quaternion.
|
|
InterpolateShort |
Default interpolator for short.
|
|
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.
|
|
InterpolateVec2 |
Default interpolator for Vector2.
|
|
InterpolateVec3 |
Default interpolator for Vector3.
|
|
InterpolateVec4 |
Default interpolator for Vector4.
|
|
OnReplayDeserialize |
Called by the replay system when the variable should be deserialized.
|
|
OnReplaySerialize |
Called by the replay system when the variable should be serialized.
|
|
RegisterCustomInterpolatorT |
Allows a custom interpolation method to be registered so that unsupported variable types can be interpolated automatically.
|
|
UpdateValueRange |
Sets the current interpolation range for the ReplayVariable value.
|
See Also