|
TracktionEngine
|
Defines a time raneg sectin of a Track. More...
#include <tracktion_TrackUtils.h>
Public Member Functions | |
| bool | merge (const TrackItem &c) |
| Merges an overlapping TrackItem track/time range with this section. | |
Static Public Member Functions | |
| template<typename TrackItemArray > | |
| static juce::Array< TrackSection > | findSections (const TrackItemArray &trackItems) |
| Returns a set of TrackSections for the given TrackItems. | |
Public Attributes | |
| Track * | track = nullptr |
| The Track this section refers to. | |
| TimeRange | range |
| The time range this section refers to. | |
Defines a time raneg sectin of a Track.
| bool tracktion::engine::TrackSection::merge | ( | const TrackItem & | c | ) |
Merges an overlapping TrackItem track/time range with this section.
References tracktion::engine::TrackItem::getEditTimeRange(), tracktion::engine::TrackItem::getTrack(), range, and track.
|
static |
| Track* tracktion::engine::TrackSection::track = nullptr |
The Track this section refers to.
Referenced by findSections(), and merge().
| TimeRange tracktion::engine::TrackSection::range |
The time range this section refers to.
Referenced by findSections(), and merge().