axiom-scenekit-ref
SceneKit → RealityKit concept mapping, complete API cross-reference for migration, scene graph API, materials, lighting, camera, physics, animation, constraints
от ComeOnOliver★ 67 звёзд на GitHub
Установить axiom-scenekit-ref в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SceneKit API Reference & Migration Mapping
Complete API reference for SceneKit with RealityKit equivalents for every major concept.
When to Use This Reference
Use this reference when:
- Looking up SceneKit → RealityKit API equivalents during migration
- Checking specific SceneKit class properties or methods
- Planning which SceneKit features have direct RealityKit counterparts
- Understanding architectural differences between scene graph and ECS
Part 1: SceneKit → RealityKit Concept Mapping
Core Architecture
| SceneKit | RealityKit | Notes |
|---|---|---|
SCNScene |
RealityViewContent / Entity (root) |
RealityKit scenes are entity hierarchies |
SCNNode |
Entity |
Lightweight container in both |
SCNView |
RealityView (SwiftUI) |
ARView for UIKit on iOS |
SceneView (SwiftUI) |
RealityView |
SceneView deprecated iOS 26 |
SCNRenderer |
RealityRenderer |
Low-level Metal rendering |
| Node properties | Components | ECS separates data from hierarchy |
SCNSceneRendererDelegate |
System / SceneEvents.Update |
Frame-level updates |
.scn files |
.usdz / .usda files |
Convert with xcrun scntool |
Geometry & Rendering
| SceneKit | RealityKit | Notes |
|---|---|---|
SCNGeometry |
MeshResource |
RealityKit generates from code or loads USD |
SCNBox, SCNSphere, etc. |
MeshResource.generateBox(), .generateSphere() |
Similar built-in shapes |
SCNMaterial |
SimpleMaterial, PhysicallyBasedMaterial |
PBR-first in RealityKit |
SCNMaterial.lightingModel = .physicallyBased |
PhysicallyBasedMaterial |
Default in RealityKit |
SCNMaterial.diffuse |
PhysicallyBasedMaterial.baseColor |
Different property name |
SCNMaterial.metalness |
PhysicallyBasedMaterial.metallic |
Different property name |
SCNMaterial.roughness |
PhysicallyBasedMaterial.roughness |
Same concept |
SCNMaterial.normal |
PhysicallyBasedMaterial.normal |
Same concept |
| Shader modifiers | ShaderGraphMaterial / CustomMaterial |
No direct port — must rewrite |
SCNProgram (custom shaders) |
CustomMaterial with Metal functions |
Different API surface |
SCNGeometrySource |
MeshResource.Contents |
Low-level mesh data |
Transforms & Hierarchy
| SceneKit | RealityKit | Notes |
|---|---|---|
node.position |
entity.position |
Both SCNVector3 / SIMD3 |
node.eulerAngles |
entity.orientation (quaternion) |
RealityKit prefers quaternions |
node.scale |
entity.scale |
Both SIMD3 |
node.transform |
entity.transform |
4×4 matrix |
node.worldTransform |
entity.transform(relativeTo: nil) |
World-space transform |
node.addChildNode(_:) |
entity.addChild(_:) |
Same hierarchy concept |
node.removeFromParentNode() |
entity.removeFromParent() |
Same concept |
node.childNodes |
entity.children |
Children collection |
node.parent |
entity.parent |
Parent reference |
node.childNode(withName:recursively:) |
entity.findEntity(named:) |
Named lookup |
Lighting
| SceneKit | RealityKit | Notes |
|---|---|---|
SCNLight (.omni) |
PointLightComponent |
Point light |
SCNLight (.directional) |
DirectionalLightComponent |
Sun/directional light |
SCNLight (.spot) |
SpotLightComponent |
Cone light |
SCNLight (.area) |
No direct equivalent | Use multiple point lights |
SCNLight (.ambient) |
EnvironmentResource (IBL) |
Image-based lighting preferred |
SCNLight (.probe) |
EnvironmentResource |
Environment probes |
SCNLight (.IES) |
No direct equivalent | Use light intensity profiles |
Camera
| SceneKit | RealityKit | Notes |
|---|---|---|
SCNCamera |
PerspectiveCamera entity |
Entity with camera component |
camera.fieldOfView |
PerspectiveCameraComponent.fieldOfViewInDegrees |
Same concept |
camera.zNear / camera.zFar |
PerspectiveCameraComponent.near / .far |
Clipping planes |
camera.wantsDepthOfField |
Post-processing effects | Different mechanism |
camera.motionBlurIntensity |
Post-processing effects | Different mechanism |
allowsCameraControl |
Custom gesture handling | No built-in orbit camera |
Physics
| SceneKit | RealityKit | Notes |
|---|---|---|
SCNPhysicsBody |
PhysicsBodyComponent |
Component-based |
.dynamic |
.dynamic |
Same mode |
.static |
.static |
Same mode |
.kinematic |
.kinematic |
Same mode |
SCNPhysicsShape |
CollisionComponent / ShapeResource |
Separate from body in RealityKit |
categoryBitMask |
CollisionGroup |
Named groups vs raw bitmasks |
collisionBitMask |
CollisionFilter |
Filter-based |
contactTestBitMask |
CollisionEvents.Began subscription |
Event-based contacts |
SCNPhysicsContactDelegate |
scene.subscribe(to: CollisionEvents.Began.self) |
Combine-style events |
SCNPhysicsField |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл axiom-scenekit-ref?
SceneKit → RealityKit concept mapping, complete API cross-reference for migration, scene graph API, materials, lighting, camera, physics, animation, constraints
Как установить скилл axiom-scenekit-ref?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл axiom-scenekit-ref запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…