FilamentSceneView
All-in-one entry point for the common single-view case: declares a scene and renders it through one viewport in a single call. Equivalent to a rememberFilamentScene feeding one FilamentView — reach for those directly when you need multiple views over one scene, or to hoist the scene as a value.
content is the scene declaration (lights, models, primitives); the viewport's look is configured by value via cameraState and postProcessing.
FilamentSceneView(
modifier = Modifier.fillMaxSize(),
cameraState = cam,
skyboxState = sky,
postProcessing = PostProcessing(bloom = Bloom(strength = 0.2f)),
) {
Light(type = LightManager.Type.SUN, ...)
GltfInstance(asset = duck)
}Parameters
Engine backing the scene. Defaults to a dedicated engine created and destroyed with this composable. Pass a rememberFilamentEngine value to share an engine.
Hoisted camera state. The default constructs a new state.
Hoisted handle exposing the live View/Renderer and pick().
Optional hoisted skybox state. Null = no skybox (the default).
Optional hoisted IBL state. Null = no IBL (the default).
Per-view post-processing and render-quality configuration.
Skip rendering of objects outside the camera frustum.
Allow lights to cast and receive shadows.
Enable screen-space refraction for refractive materials.
Allocate a stencil buffer (required for stencil-based effects).
Scene composables (io.github.erkko68.filament.compose.scene.Light, GltfInstance, Group, primitives, …).