UNPKG

scrptly

Version:

Scrptly is a Video Development Kit (VDK) for programmatically generating AI-powered videos.

36 lines (35 loc) 1.12 kB
import BaseLayer, { BaseLayerSettings, BaseLayerProperties } from './BaseLayer.js'; export interface AuditoryLayerProperties extends BaseLayerProperties { volume?: number; pan?: number; pitch?: number; mute?: boolean; } export interface AuditoryLayerSettings extends BaseLayerSettings { } export default class AuditoryLayer extends BaseLayer { static type: string; properties: AuditoryLayerProperties; settings: AuditoryLayerSettings; constructor(parent: any, properties: AuditoryLayerProperties | undefined, settings: AuditoryLayerSettings); static get defaultSettings(): Partial<AuditoryLayerSettings>; static get defaultProperties(): Partial<AuditoryLayerProperties>; static get propertiesDefinition(): { volume: { default: number; animatable: boolean; }; pan: { default: number; animatable: boolean; }; pitch: { default: number; animatable: boolean; }; mute: { default: boolean; animatable: boolean; }; }; }