TracktionEngine
|
Represents a launch quantisation. More...
#include <tracktion_LaunchQuantisation.h>
Public Member Functions | |
LaunchQuantisation (juce::ValueTree &, Edit &) | |
Creates a LaunchQuantisation property on a given state tree. | |
BeatPosition | getNext (BeatPosition) const noexcept |
Returns the next beat quantised to the current type. | |
Public Attributes | |
Edit & | edit |
The Edit this belongs to. | |
juce::CachedValue< LaunchQType > | type |
The current type property. | |
Represents a launch quantisation.
Usually this is set globally in the Edit but may be overriden by clips.
tracktion::engine::LaunchQuantisation::LaunchQuantisation | ( | juce::ValueTree & | , |
Edit & | |||
) |
Creates a LaunchQuantisation property on a given state tree.
The Edit is used to find the TempoSequence and UndoManager.
|
noexcept |
Returns the next beat quantised to the current type.
juce::CachedValue<LaunchQType> tracktion::engine::LaunchQuantisation::type |
The current type property.