alphaTab.ToNextBeatAnimatingCursorHandler
A cursor handler which animates the beat cursor to the next beat or end of the beat bounds
depending on the cursor mode. This is the default handler when PlayerSettings.enableAnimatedBeatCursor is enabled.
Custom ICursorHandler implementations can delegate to it to keep the default cursor placement.
class ToNextBeatAnimatingCursorHandler implements ICursorHandlerMethodsโ
onAttachโ
(no description)
| Parameter | Summary |
|---|---|
_cursorsAll | (no description) |
onDetachโ
(no description)
| Parameter | Summary |
|---|---|
_cursorsAll | (no description) |
placeBarCursorโ
(no description)
- JavaScript
- C#
- Kotlin
placeBarCursor(barCursor: IContainer, beatBounds: BeatBounds): voidvoid PlaceBarCursor(IContainer barCursor, BeatBounds beatBounds)fun placeBarCursor(barCursor: IContainer, beatBounds: BeatBounds): Unit| Parameter | Summary |
|---|---|
barCursorAll | (no description) |
beatBoundsAll | (no description) |
placeBeatCursorโ
(no description)
- JavaScript
- C#
- Kotlin
placeBeatCursor(beatCursor: IContainer, beatBounds: BeatBounds, startBeatX: number): voidvoid PlaceBeatCursor(IContainer beatCursor, BeatBounds beatBounds, double startBeatX)fun placeBeatCursor(beatCursor: IContainer, beatBounds: BeatBounds, startBeatX: Double): Unit| Parameter | Summary |
|---|---|
beatCursorAll | (no description) |
beatBoundsAll | (no description) |
startBeatXAll | (no description) |
transitionBeatCursorโ
(no description)
- JavaScript
- C#
- Kotlin
transitionBeatCursor(beatCursor: IContainer, _beatBounds: BeatBounds, startBeatX: number, nextBeatX: number, duration: number, cursorMode: MidiTickLookupFindBeatResultCursorMode): voidvoid TransitionBeatCursor(IContainer beatCursor, BeatBounds _beatBounds, double startBeatX, double nextBeatX, double duration, MidiTickLookupFindBeatResultCursorMode cursorMode)fun transitionBeatCursor(beatCursor: IContainer, _beatBounds: BeatBounds, startBeatX: Double, nextBeatX: Double, duration: Double, cursorMode: MidiTickLookupFindBeatResultCursorMode): Unit| Parameter | Summary |
|---|---|
beatCursorAll | (no description) |
_beatBoundsAll | (no description) |
startBeatXAll | (no description) |
nextBeatXAll | (no description) |
durationAll | (no description) |
cursorModeAll | (no description) |