---
title: Scenes
framework: realitykit
role: collectionGroup
role_heading: API Collection
path: realitykit/ecs-scenes
---

# Scenes

The context that holds all RealityKit entities.

## Overview

Overview The system adds an Entity to a Scene when you add it to a RealityView with a RealityViewCameraContent or RealityViewContent instance. These scenes contain anchors and a hierarchy of entities that make up your RealityKit content. The Scene instance has helpful methods to perform ray casts to help you better understand your scene, and methods that find entities either by name or by components they own.

## Topics

### Scene management

- [Scene](realitykit/scene.md)
- [Scene.AnchorCollection](realitykit/scene/anchorcollection.md)

### Entity searches

- [QueryPredicate](realitykit/querypredicate.md)
- [PixelCastHit](realitykit/pixelcasthit.md)

### Event publishers and subscription

- [SceneEvents](realitykit/sceneevents.md)
- [Scene.Publisher](realitykit/scene/publisher.md)

### Scene reconstructions and analysis

- [Creating a game with scene understanding](realitykit/creating-a-game-with-scene-understanding.md)
- [Implementing scene understanding and reconstruction in your RealityKit app](realitykit/realitykit-scene-understanding.md)
- [Visualizing and interacting with a reconstructed scene](arkit/visualizing-and-interacting-with-a-reconstructed-scene.md)
- [sceneReconstruction](arkit/arworldtrackingconfiguration/scenereconstruction.md)
- [supportsSceneReconstruction(_:)](arkit/arworldtrackingconfiguration/supportsscenereconstruction(_:).md)
- [SceneUnderstandingComponent](realitykit/sceneunderstandingcomponent.md)
- [ARView.Environment.SceneUnderstanding](realitykit/arview/environment-swift.struct/sceneunderstanding-swift.struct.md)
- [ARView.Environment.SceneUnderstanding.Options](realitykit/arview/environment-swift.struct/sceneunderstanding-swift.struct/options-swift.struct.md)
- [HasSceneUnderstanding](realitykit/hassceneunderstanding.md)
- [SceneReconstructionProvider](arkit/scenereconstructionprovider.md)
- [ARSession](arkit/arsession.md)

## See Also

### Scene management and logic

- [Systems](realitykit/ecs-systems.md)
- [Events](realitykit/ecs-events.md)
- [Entity actions](realitykit/ecs-entity-actions.md)
