← ClaudeAtlas

scenekitlisted

Build 3D scenes and visualizations using SceneKit. Use when creating 3D views with SCNView and SCNScene, building node hierarchies with SCNNode, applying materials and lighting, animating with SCNAction, simulating physics with SCNPhysicsBody, loading 3D models (.usdz, .scn), adding particle effects, or embedding SceneKit in SwiftUI with SceneView. Note: SceneKit was deprecated at WWDC 2025 and is in maintenance mode; RealityKit is recommended for new projects.
dpearson2699/swift-ios-skills · ★ 730 · AI & Automation · score 80
Install: claude install-skill dpearson2699/swift-ios-skills
# SceneKit Apple's high-level 3D rendering framework for building scenes and visualizations on iOS using Swift 6.3. Provides a node-based scene graph, built-in geometry primitives, physically based materials, lighting, animation, and physics. **Deprecation notice (WWDC 2025):** SceneKit is officially deprecated across all Apple platforms and is now in maintenance mode (critical bug fixes only). Existing apps continue to work. For new projects or major updates, Apple recommends RealityKit. See WWDC 2025 session 288 for migration guidance. ## Contents - [Scene Setup](#scene-setup) - [Nodes and Geometry](#nodes-and-geometry) - [Materials](#materials) - [Lighting](#lighting) - [Cameras](#cameras) - [Animation](#animation) - [Physics](#physics) - [Particle Systems](#particle-systems) - [Loading Models](#loading-models) - [SwiftUI Integration](#swiftui-integration) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Scene Setup ### SCNView in UIKit ```swift import SceneKit let sceneView = SCNView(frame: view.bounds) sceneView.scene = SCNScene() sceneView.allowsCameraControl = true sceneView.autoenablesDefaultLighting = true sceneView.backgroundColor = .black view.addSubview(sceneView) ``` `allowsCameraControl` adds built-in orbit, pan, and zoom gestures. Typically disabled in production where custom camera control is needed. ### Creating an SCNScene ```swift let scene = SCNScene()