Represents a video or audio track.
Creates a Track object with the specified name. If the name is empty a system track name will be generated automatically.
Track name(s) 'a - z' are reserved.
Sets whether the audio level detection is enabled on this track. Audio level detection is done before and rendering starts. So the time it takes to grab levels for a track depends on the track's length.
This does nothing if this track is a video track (contains a or more video clips)
Sets the opacity that should be applied to all empty clips (if any) on this track.
Sets the face detection accuracy, available values are 'low' (default) and 'high'. 'high' accuracy always uses more CPU/GPU (depending on the platform iOS macOS etc.) than the default 'low' level.
Sets whether face detection is enabled on this track.
This does nothing if this track is an audio track (contains a or more audio clips).
Only one track in the composition can have its face detection enabled.
Sets the frame interval at which the face feature detection should occur.
Sets the maximum frame width that should be used when detecting face features.
Sets whether the face landmark detection is enabled on this track.
Returns the last clip "in time" on this track or null.
Scales the track from the specified startTime for the durations to the specified finalDuration.
Generated using TypeDoc