AttachmentContentBuilder
A result builder that creates attachment content from closures.
Declaration
@resultBuilder struct AttachmentContentBuilderOverview
The buildBlock methods in this type create AttachmentContent instances based on the number and types of sources provided as parameters.
RealityKit calls this builder for you when SwiftUI annotates the attachment parameter of some RealityView initializers that have the @AttachmentContentBuilder annotation.