API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classCrossFadeSceneTransition
@codexo/exojs / core / stable
Continuous blend between the outgoing scene (frozen as a snapshot at session start) and the incoming scene (rendered live to a pooled texture), with no "exit half"/"enter half" seam - `placement: 'scene'`, `outgoingFrame: 'snapshot'`, `currentFrame: 'texture'`. A full `SceneTransition`, not phase-split.
2
props
3
methods
0
events
Import
import { CrossFadeSceneTransition } from '@codexo/exojs'Continuous blend between the outgoing scene (frozen as a snapshot at session start) and the incoming scene (rendered live to a pooled texture), with no "exit half"/"enter half" seam - `placement: 'scene'`, `outgoingFrame: 'snapshot'`, `currentFrame: 'texture'`. A full `SceneTransition`, not phase-split.
Constructors1
new(options: CrossFadeSceneTransitionOptionsOptions for CrossFadeSceneTransition.): CrossFadeSceneTransitionMethods3
beginSession(environment: SceneTransitionEnvironmentHanded to SceneTransition.beginSession. `commitRequested`/`committed` are live views - they reflect state at read time, not a snapshot taken when this object w…): SceneTransitionSessionOne navigation's worth of mutable transition state - created fresh per navigation by SceneTransition.beginSession, driven by the Director until SceneTransition…Called by the Director - do not call directly. Dispatches to SceneTransition.createSession, which is protected so it does not clutter a beginner's view of a transition subclass while still being callable from Director code that does not share this class's hierarchy.
createSession(environment: SceneTransitionEnvironmentHanded to SceneTransition.beginSession. `commitRequested`/`committed` are live views - they reflect state at read time, not a snapshot taken when this object w…): SceneTransitionSessionOne navigation's worth of mutable transition state - created fresh per navigation by SceneTransition.beginSession, driven by the Director until SceneTransition…Construct this navigation's session. Override in a subclass.
Pure, synchronous. Called once, before a session starts, so the Director can provision render resources up front.
Properties2
easing: EasingFunctionSource