2026 Graphics & GamesSpatial Computing
WWDC26 · 25 min · Graphics & Games / Spatial Computing
Collaborate on structured 3D models in visionOS
Learn how to bring structured 3D models to life in visionOS. We’ll cover USDZ preparation, show you how to manipulate individual entities within hierarchical assemblies, and inspect the internal components within a model with a cross-sectional plane. Create stunning exploded-view animations for design review and collaboration experiences on Apple Vision Pro.
Watch at developer.apple.com ↗Chapters
Code shown on screen · 2 snippets
Opening an assembly
func openAssembly() {
components[ManipulationComponent.self] = nil
components[InputTargetComponent.self] = nil
for child in assemblyChildren {
child.components.set(InputTargetComponent())
var manipulation = ManipulationComponent()
manipulation.releaseBehavior = .stay
child.manipulationComponent = manipulation
}
} Closing an assembly
func closeAssembly() {
for child in assemblyChildren {
child.manipulationComponent = nil
child.components[InputTargetComponent.self] = nil
}
components.set(InputTargetComponent())
var manipulation = ManipulationComponent()
manipulation.releaseBehavior = .stay
manipulationComponent = manipulation
} Resources
Related sessions
-
23 min -
30 min -
26 min -
15 min -
14 min -
22 min