Constructors
Properties
endClipId
endClipId: string
inDuration
inDuration: number
outDuration
outDuration: number
startClipId
startClipId: string
transitionSrc
transitionSrc: string
Methods
createRendererTexture
- createRendererTexture(): void
Returns void
destroy
- destroy(): void
Returns void
getTransitionProgress
- getTransitionProgress(currentTime: number): number
Returns number
init
- init(layerId: string): void
Returns void
onPause
- onPause(currentTime: number): void
Returns void
onPlay
- onPlay(currentTime: number): Promise<void>
Returns Promise<void>
onResize
- onResize(width: number, height: number): void
Parameters
- width: number
- height: number
Returns void
render
- render(currentTime: number): void
Returns void
serialize
- serialize(): {
endClipId: string;
id: string;
inDuration: number;
name: string;
outDuration: number;
startClipId: string;
transitionSrc: string;
type: "transition";
} Returns {
endClipId: string;
id: string;
inDuration: number;
name: string;
outDuration: number;
startClipId: string;
transitionSrc: string;
type: "transition";
}
update
- update(transitionProgress: number): void
Parameters
- transitionProgress: number
Returns void