API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceSceneTransitionPhaseContext
@codexo/exojs / core / stable
Per-frame context handed to PhasedSceneTransition.enter/ PhasedSceneTransition.exit.
6
props
0
methods
0
events
Import
import { SceneTransitionPhaseContext } from '@codexo/exojs'Per-frame context handed to PhasedSceneTransition.enter/ PhasedSceneTransition.exit.
Properties6
easedProgress: numberprogress after this transition's easing function. Always 0 → 1.
phase: "enter" | "exit"presence: numberVisual presence of the affected scene - enter: 0 → 1 (offscreen → onscreen); exit: 1 → 0 (onscreen → offscreen). Lets both phases share one formula (e.g. lerp(offscreenX, 0, presence)) without either inverting anything itself.
progress: numberChronological progress of this phase. Always 0 → 1, regardless of phase.
Source