Dissolve
Available on Image changes and on scene jumps.
Dissolve from the current image to the next image.
The current image will fade out, and the next image will fade in at the same time.
Usage
import { Dissolve } from "narraleaf-react";
image.char("image1.jpg", new Dissolve({ duration: 3000 }));Public Methods
constructor
options: DissolveOptionsduration: number- The duration of the transition in millisecondseasing?: TransformDefinitions.EasingDefinition- The easing function, see TransformDefinitions.EasingDefinition