Contents

init(content:)

Creates a remote immersive space.

Declaration

nonisolated init<C>(@CompositorContentBuilder content: @escaping () -> C) where Content == CompositorContentBuilder.Content<C>, Data == Never, C : CompositorContent

Parameters

  • content:

    A compositor content builder that defines the content of the space.

Discussion

The space uses the specified content builder to form the content.