Ultimate Replay Scripting Reference
ReplayManagerBeginPlayback Method |
Use this method to begin the playback of the recorded objects.
Use SetPlaybackFrame(Single, PlaybackOrigin) or SetPlaybackFrameNormalized(Single, PlaybackOrigin) before calling this method to specify the exact location at which playback should begin.
This method will run the entire playback gathered and then automatically stop playback on completion if endReplayAfterPlayback is true.
Namespace: UltimateReplay
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void BeginPlayback( bool fromStart = true, PlaybackDirection direction = PlaybackDirection.Forward )
Parameters
- fromStart (Optional)
- Type: SystemBoolean
When true, the replay will be played from the first frame recorded - direction (Optional)
- Type: UltimateReplayPlaybackDirection
The direction that the replay should be played
See Also