Intermact API Reference / @intermact/render-r3f / SceneView
Function: SceneView()
SceneView(
__namedParameters):Element
Defined in: render-r3f/src/SceneView.tsx:27
In-canvas R3F component (design.md §15). Hosts a framework-free ThreeSceneView (@intermact/render-three), fits the orthographic camera to the scene domain on resize, advances the Player via useFrame, and diffs each snapshot onto the three.js scene graph — no per-frame React reconciliation.
Parameters
__namedParameters
autoplay?
boolean = false
domain
{ x: Interval; y: Interval; }
domain.x
Interval
domain.y
Interval
fit?
NonNullable<"contain" | "cover" | "stretch" | undefined> = "contain"
interactive?
boolean = true
onFrame?
(snapshot) => void
player
Returns
Element