#include <tracktion_LauncherClipPlaybackHandle.h>
|
| void | start (BeatPosition) |
| | Signifies that the clip has started at a given position.
|
| void | stop () |
| | Signifies that the clip should stop.
|
| std::optional< BeatPosition > | getStart () const |
| | If the clip has been started, this will return that position.
|
| SplitBeatRange | timelineRangeToClipSourceRange (BeatRange) const |
| | Converts a timeline range (e.g.
|
| std::optional< float > | getProgress (BeatPosition) const |
| | Returns the progress through a clip's source.
|
|
| static LauncherClipPlaybackHandle | forLooping (BeatRange loopRange, BeatDuration offset) |
| static LauncherClipPlaybackHandle | forOneShot (BeatRange clipRange) |
◆ forLooping()
| LauncherClipPlaybackHandle engine::LauncherClipPlaybackHandle::forLooping |
( |
BeatRange | loopRange, |
|
|
BeatDuration | offset ) |
|
static |
◆ forOneShot()
| LauncherClipPlaybackHandle engine::LauncherClipPlaybackHandle::forOneShot |
( |
BeatRange | clipRange | ) |
|
|
static |
◆ start()
| void engine::LauncherClipPlaybackHandle::start |
( |
BeatPosition | | ) |
|
Signifies that the clip has started at a given position.
This allows the source range and progress functions to calculate their results.
◆ stop()
| void engine::LauncherClipPlaybackHandle::stop |
( |
| ) |
|
Signifies that the clip should stop.
◆ getStart()
| std::optional< BeatPosition > engine::LauncherClipPlaybackHandle::getStart |
( |
| ) |
const |
If the clip has been started, this will return that position.
◆ timelineRangeToClipSourceRange()
| SplitBeatRange engine::LauncherClipPlaybackHandle::timelineRangeToClipSourceRange |
( |
BeatRange | | ) |
const |
◆ getProgress()
| std::optional< float > engine::LauncherClipPlaybackHandle::getProgress |
( |
BeatPosition | | ) |
const |
Returns the progress through a clip's source.
If the clip position is before the clip has started or after it has stopped, this will return nullopt.
The documentation for this class was generated from the following file: