init(content:)
Creates a remote immersive space.
Declaration
nonisolated init<C>(@CompositorContentBuilder content: @escaping () -> C) where Content == CompositorContentBuilder.Content<C>, Data == Never, C : CompositorContentParameters
- content:
A compositor content builder that defines the content of the space.
Discussion
The space uses the specified content builder to form the content.