Contents

FoveatedStreamingSpaceContent

A type that defines the content of an immersive space displaying a foveated stream.

Declaration

@MainActor @preconcurrency struct FoveatedStreamingSpaceContent

Overview

Don’t use FoveatedStreamingSpaceContent directly. The Foveated Streaming framework uses it when you call init(foveatedStreaming:content:) to display spatial content from a foveated streaming session alongside RealityKit content:

ImmersiveSpace(foveatedStreaming: session) {
    RealityView { content in
        // Optional: Add `RealityKit` content to the immersive space to co-exist with the streamed content.
    }
}

See Also

Essentials