Skip to content

TransitionView

Defined in: camera/scene-stack.ts:179

Everything the renderer needs to draw the cross-fade between a scene and the one inside its anchor — see transition.ts for the curves. Renderer-agnostic, same as RenderNode.

animating: boolean

Defined in: camera/scene-stack.ts:192

A preview or ghost is still mid arrival fade — the caller should keep drawing.


currentAlpha: ((node) => number) | null

Defined in: camera/scene-stack.ts:184

An opacity multiplier for the current scene’s own nodes — null means “all 1”.


over: TransitionLayer | null

Defined in: camera/scene-stack.ts:190

The parent scene just left, drawn over the current scene: the node entered dissolving as a haze, its siblings exactly as they were drawn before entry.


passThrough: ReadonlySet<string>

Defined in: camera/scene-stack.ts:187

Solid items of the current scene whose children now show more than they do: the pointer passes through them to the children (under, pointable).


under: TransitionLayer[]

Defined in: camera/scene-stack.ts:182

The children of every visible node being zoomed towards, each drawn beneath the current scene so they appear behind their own node’s cloud.