ReplayMemoryTarget.recordSeconds Field

Ultimate Replay

ReplayMemoryTargetrecordSeconds Field
The amount of time in seconds of recording that should be kept in memory before it is discarded. The time is measured backwards from the current time to give a rolling buffer of the last 'n' seconds. This is useful in situations where you are only need the previous few secnonds of gameplay to be recorded for example: A kill cam. If this value is set to 0 then the internal buffer will not be wrapped at all. You should take extra care when using an unconstrained buffer as there is potential to run into an OutOfMemoryException, especially on mobile platforms where memory is at a premium.

Namespace: UltimateReplay.Storage
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public float recordSeconds

Field Value

Type: Single
See Also