One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

SceneRealityCoordinateSpace

struct · iOS 18.0+ · SDK 27.1

struct SceneRealityCoordinateSpace

The coordinate space that represents the center of a RealityKit scene. The center, or origin, of a RealityKit scene varies depending on the platform and context: - term visionOS (Window or Volume): The origin is a point that extends outward from the window, or upward from the volume. - term visionOS (Immersive Space): The origin is the <doc://com.apple.documentation/documentation/arkit> world origin, which does not directly relate to any specific ``RealityView``, but rather to the broader immersive environment. - term macOS and iOS (Non-AR): The origin is a point behind the RealityView. Here, the ``RealityView`` acts as a window through which you can view the scene, and the scene's origin is placed behind this by default, giving depth to the scene. - term iOS (AR Mode): Similar to the Immersive Space in visionOS, ARKit determines the world origin, and does not directly relate to the ``RealityView`` position. - Note: This object is equivalent to ``RealityCoordinateSpace/scene``.

Members (1)

init · iOS 18.0+

init

TypeScript
static init(): SceneRealityCoordinateSpace
Swift declaration
init()

Creates a scene coordinate space.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →