Hierarchy

Index

Properties

data

data: ISchema

schemaVersion

schemaVersion: number = 1

sourcesService

sourcesService: SourcesService = SourcesService.instance

videoService

videoService: VideoService = VideoService.instance

Methods

applyResolution

  • applyResolution(sceneItem: SceneItem, resolution: string): void

applyScaleAndCrop

  • applyScaleAndCrop(item: SceneItem, scale: number, crop: ICrop): void

fromJSON

load

  • load(context: IContext): Promise<void>

migrate

  • migrate(version: number): void
  • Nodes that have evolved from schema version 1 should override this method. This function is responsible for changing this.data to match the current schema.

    Parameters

    • version: number

      The old version number

    Returns void

performInitialSetup

resStringToResolution

  • resStringToResolution(resString: string): IResolution

save

  • save(context: IContext): Promise<void>

toJSON