init
TypeScriptstatic init(): SceneRealityCoordinateSpaceSwift declarationinit()Creates a scene coordinate space.
struct · iOS 18.0+ · SDK 27.1
struct SceneRealityCoordinateSpaceThe 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``.
static init(): SceneRealityCoordinateSpaceSwift declarationinit()Creates a scene coordinate space.
No declarations were skipped in this snapshot.