Skip to content

getSceneContainer

getSceneContainer(ctx, scene): DisplayContainer | undefined

Defined in: renderer/src/transitions/helpers.ts:13

Resolve the root container for a scene that participates in a transition. Returns undefined if scene is undefined or its tree hasn’t been materialized. Intended for use inside SceneTransition.begin/tick/end so custom transitions can manipulate per-scene containers without boilerplate.

SceneTransitionContext

Scene | undefined

DisplayContainer | undefined

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/renderer.md.