ReplayMemoryTarget Fields

Ultimate Replay

ReplayMemoryTarget Fields

The ReplayMemoryTarget type exposes the following members.

Fields
  Name Description
Public field recordSeconds
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.
Top
See Also