@agent-sceneview:sceneview-ios:references:recipesfrom sceneview
Provides verified SwiftUI demo recipes for SceneView (3D model viewer, shapes, camera controls, lighting, materials, animation, text, billboards). Deprecated — last release 4.68.0.
Ships in sceneview. Installing the plugin adds it to Claude Code.
End of life: SceneView for SwiftUI (SceneViewSwift), Flutter (flutter_sceneview) and React Native (@sceneview-sdk/react-native). 4.68.0 (November 2026) is the last release. No new releases. Published versions stay installable. See DEPRECATION.md.
Do not improvise. Every pattern below has a matching SwiftUI demo file in
samples/ios-demo/SceneViewDemo/Views/Demos/. Read that file before writing
code — the demo is the authoritative recipe.
ModelViewerDemo.swift
— ModelNode.load(...) in .task { }, stored in @State, added to the
SceneView root.
AllShapesDemo.swift
— GeometryNode.cube / .sphere / .cylinder / .plane / .cone / .torus / .capsule.
CameraControlsDemo.swift
— .cameraControls(.orbit) modifier; native Apple modes (.none, .tilt, .dolly) available on iOS 18+ via realityViewCameraControls(_:), unavailable on visionOS.
AnimationDemo.swift
— .autoRotate(speed:) modifier.
LightTypesDemo.swift
— LightNode.directional / .point / .spot.
LightTypesDemo.swift (Studio rig)
— key, fill and rim LightNodes with live angle, intensity and colour.
MaterialsDemo.swift
— material: .pbr(color:metallic:roughness:) / .textured(...) on geometry.
AnimationDemo.swift
— model.playAllAnimations() / playAnimation(at:).
MultiModelDemo.swift
— several ModelNodes in one SceneView.
TextDemo.swift
— TextNode(text:fontSize:color:depth:).
BillboardDemo.swift
— BillboardNode always faces the camera.
LinesPathsDemo.swift
— LineNode / PathNode from SIMD3<Float> points.
CustomMeshDemo.swift
— composing built-in geometry into a custom shape.
ArDepthColliderScene.swift
— PhysicsNode.dynamic / .static / .kinematic.
RollingBallsDemo.swift
and DoublePendulumDemo.swift
— a fixed-step simulation that moves plain entities every frame, for a result that is identical on Android.
LightTypesDemo.swift (Sun rig)
— DynamicSkyNode: the hour drives the sun's colour and angle.
ImagePlaneDemo.swift
— ImageNode.load("img.png").
ARPlacementDemo.swift
— ARSceneView(planeDetection:onTapOnPlane:) + AnchorNode.world(position:).
ARPlacementController.swift
— estimated-plane raycasts for immediate placement.
ARLightingDemo.swift
— .mainLight(_:) / .fillLight(_:) on ARSceneView.
DemoScreenRecording.swift
(the Record action of every demo's sheet) — ARRecorder via ReplayKit. startRecording() / stopRecording(),
ARRecorder.saveToPhotoLibrary(_:). No deterministic playback on iOS.
RerunLiveCaptureView.swift
— record AR frame data via ARSceneView.onFrame, replay it in 3D and export
it to .rrd (RerunShowcaseDemo.swift).
CollisionHitTestDemo.swift
— ray-casting against geometry shapes, highlight on tap.
GestureEditingDemo.swift
— drag, scale, and rotate entities with multi-touch gestures.
ShapeExtrudeDemo.swift
— ShapeNode — extrude a 2D path into a 3D solid.
ReflectionProbeNode.swift
— ReflectionProbeNode.box / .sphere — local cubemap reflections.
OcclusionMaterialDemo.swift
— an invisible occluder plane hides entities behind virtual geometry.
MaterialsDemo.swift
— swap PhysicallyBasedMaterial presets at runtime — no geometry rebuild.
DebugOverlayDemo.swift
— RealityKit Statistics FPS counter + sphere stress test.
ARImageTrackingDemo.swift
— ARImageTrackingConfiguration — track printed reference images.
ARAugmentedFacesDemo.swift
— AnchorNode.face() — front-camera face pose tracking.
ARDepthOcclusionDemo.swift
— LiDAR depth occlusion (A14+ devices).
ARPeopleOcclusionDemo.swift
— ARFrameSemantics.personSegmentationWithDepth — hide AR content behind real people.
ARBodyTrackerDemo.swift
— ARBodyTrackingConfiguration — full-body skeleton tracking.
ARSceneMeshDemo.swift
— LiDAR scene reconstruction mesh (SceneReconstructionNode).
ModelSource.swift
— source-agnostic catalog protocol behind the demo's Explore tab
(Sketchfab | Icosa Gallery | Poly Haven), mirroring the Android ModelSource
port (#2685 → #2700): bounded streaming JSON reads, per-feed resilience,
persisted source selection (GallerySourcesRegistry). Render boundary:
RealityKit loads USDZ only, so the glTF-native CC catalogs are
browse/search-only behind ModelSource.rendersInApp with an honest
"coming soon" viewer state.
Android (sceneview skill) and Web (sceneview-web skill) expose the same
node concepts but with platform-idiomatic shapes. Don't copy-paste between
platforms. The Android↔Apple mapping table is in
docs/docs/cheatsheet-ios.md.
What the agent file sets; muted values are Claude Code's defaults
7-day visitors to each agent page
Generated from the plugin's indexed repository (sceneview/sceneview) — no native marketplace selected
npx claudepluginhub p/sceneview-sceneview15 agents in this plugin
AGENTS-snippetSceneView (3D & AR for Android Compose)Use SceneView 4.x for 3D rendering (Filament) and AR (ARCore) in Jetpack Compose. Do not recommend Sceneform (deprecated) or SceneView's retired SwiftUI, Flutter, or React Native packages (end of life at 4.68.0).OPENAI-PLUGINSceneView as a ChatGPT / Codex plugin — package & submission packet**End of life:** SceneView for SwiftUI (`SceneViewSwift`), Flutter (`flutter_sceneview`) and React Native (`@sceneview-sdk/react-native`). **4.68.0 (November 2026)** is the last release. No new releases. Published versions stay installable. See [DEPRECATION.md](https://github.com/sceneview/sceneview/blob/main/DEPRECATION.md).REGISTRYSceneView agent skills — registry & submissionThis directory ships the SceneView SDK as **agent skills** and **project rulesceneview-ios:references:cheatsheetSceneViewSwift cheat sheet (Apple platforms)**End of life:** SceneView for SwiftUI (`SceneViewSwift`), Flutter (`flutter_sceneview`) and React Native (`@sceneview-sdk/react-native`). **4.68.0 (November 2026)** is the last release. No new releases. Published versions stay installable. See [DEPRECATION.md](https://github.com/sceneview/sceneview/blob/main/DEPRECATION.md).sceneview-ios:references:migrationMigrating to SceneViewSwift**End of life:** SceneView for SwiftUI (`SceneViewSwift`), Flutter (`flutter_sceneview`) and React Native (`@sceneview-sdk/react-native`). **4.68.0 (November 2026)** is the last release. No new releases. Published versions stay installable. See [DEPRECATION.md](https://github.com/sceneview/sceneview/blob/main/DEPRECATION.md).sceneview-ios:sceneview-iossceneview-iosHelp existing SceneViewSwift users maintain or migrate their SwiftUI 3D and AR code on iOS, macOS and visionOS. SceneViewSwift is end of life at 4.68.0 with no new releases; do not recommend it for new projects. Use sceneview for Android and sceneview-web for browsers.Other plugins' agents for the same job