Interface IPlaybackController
The bulk of the playback system operates by informing controllers of the current state of the playback.
When adding a new Capture Collection type into the Recolude system, you might want to start here for adding playback functionality.
Namespace: Recolude.Core.Playback
Assembly: Recolude.Core.dll
Syntax
public interface IPlaybackController
Methods
MoveTo(MovementType, Single)
Called by the playback system upon the next "tick" of playback. Used in situations where time is progressing in a continuos fashion.
Declaration
void MoveTo(MovementType movement, float newTime)
Parameters
Type | Name | Description |
---|---|---|
MovementType | movement | The type of movement time that took place within playback's system. |
System.Single | newTime | The current time through the playback after the latest tick. |
OnPause()
Called by the playback system when the playback is paused.
Declaration
void OnPause()
OnPlay()
Called by the playback system when the playback is started.
Declaration
void OnPlay()
OnStop()
Called by the playback system when the playback is stopped.
Declaration
void OnStop()