TimelineClip

data class TimelineClip(val track: Int, val start: Double, val duration: Double, val label: String = "", val color: ColorRGBa? = null, val tag: Int = 0, val fadeIn: Double = 0.0, val fadeOut: Double = 0.0)(source)

a clip of a ClipTimeline: on the track at index track, from start for duration seconds; label and color are how it is shown, the accent of the timeline when null, tag is the host's, like the number of a scene, and is kept as it is; fadeIn and fadeOut are the seconds it fades in over at its start and out over at its end

Constructors

Link copied to clipboard
constructor(track: Int, start: Double, duration: Double, label: String = "", color: ColorRGBa? = null, tag: Int = 0, fadeIn: Double = 0.0, fadeOut: Double = 0.0)

Properties

Link copied to clipboard
val color: ColorRGBa?
Link copied to clipboard
Link copied to clipboard
val end: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tag: Int
Link copied to clipboard
val track: Int

Functions

Link copied to clipboard
fun withFadesClamped(keepsFadeIn: Boolean = true): TimelineClip

this clip with its fades within its duration, together too: fadeIn is clamped to the duration and fadeOut to what is left when keepsFadeIn, else the other way around