Skip to main content

EngineViewport

Function EngineViewport 

Source
pub fn EngineViewport(props: EngineViewportProps) -> impl IntoView
Expand description

Renders the Viewport wired to engine: it translates ViewportEvents into worker messages, completes the connection on connect, and updates the engine state (and any custom handler) from messages the worker sends back.

ยงRequired Props