JavaScript video editor, encoder, switcher - version 5.1.1

TrackClass

_mash

_mash?: Mash

addClips

  • addClips(clips: Clips, insertIndex?: number): void
  • Parameters

    • clips: Clips
    • Optional insertIndex: number

    Returns void

addProperties

  • addProperties(object: any, ...properties: Property[]): void
  • Parameters

    • object: any
    • Rest ...properties: Property[]

    Returns void

assureFrame

  • assureFrame(clips?: Clips): boolean
  • Parameter

    Optional clips: Clips

    Returns boolean

assureFrames

  • assureFrames(quantize: number, clips?: Clips): void
  • Parameters

    • quantize: number
    • Optional clips: Clips

    Returns void

clips

clips: Clips

constructor

dense

dense: boolean

frameForClipNearFrame

  • frameForClipNearFrame(clip: Clip, frame?: number): number
  • Parameters

    • clip: Clip
    • Optional frame: number

    Returns number

frames

  • get frames(): number
  • Returns number

identifier

  • get identifier(): string
  • Returns string

index

index: number

mash

  • get mash(): Mash
  • set mash(value: Mash): void
  • Returns Mash

  • Parameter

    value: Mash

    Returns void

properties

properties: Property[]

propertiesCustom

propertyFind

  • propertyFind(name: string): undefined | Property
  • Parameter

    name: string

    Returns undefined | Property

removeClips

  • removeClips(clips: Clips): void
  • Parameter

    clips: Clips

    Returns void

selectType

selectType: SelectType

selectables

selectedItems

setValue

  • Parameters

    Returns void

setValues

sortClips

  • sortClips(clips?: Clips): boolean
  • Parameter

    Optional clips: Clips

    Returns boolean

toJSON

value

  • Parameter

    key: string

    Returns Scalar