createScene Method

Populate the context with the scene to be rendered by this viewport.

createScene(context: SceneContext): void

note This method is not typically invoked directly - Viewport.renderFrame invokes it as needed to recreate the scene.

Parameter Type Description
context SceneContext  

Returns - void

Defined in

Last Updated: 11 June, 2024