Contents

SceneUnderstandingComponent

A component that specifies an entity is participating in the system’s scene-understanding features.

Declaration

struct SceneUnderstandingComponent

Mentioned in

Overview

Scene understanding refers to RealityKit features like physics collision, shadows, and occlusion with real-world geometry. In iOS, SceneUnderstandingComponent is a read-only component. Manually adding it doesn’t have any effect.

In visionOS, SceneUnderstandingComponent is a write-only component. Add SceneUnderstandingComponent to your custom entities to let it behave as a virtual scene-understanding mesh.

For more information about scene-understanding features, see Implementing scene understanding and reconstruction in your RealityKit app.

Topics

Initializing a scene-understanding component

Managing the component

Instance Properties

Enumerations

See Also

Scene reconstructions and analysis