add
Swift declarationfunc add(_ entity: Entity)Adds an entity to this content.
protocol · iOS 18.0+ · SDK 27.1
protocol RealityViewContentProtocolA protocol representing the content of a reality view. Do not interface with this protocol directly. Instead, use ``RealityViewContent`` with your ``RealityView``.
func add(_ entity: Entity)Adds an entity to this content.
func remove(_ entity: Entity)Removes an entity from this content, if present.
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
RealityViewContentProtocol.subscribe(to:on:_:)
Passing a Swift type itself is not supported.
RealityViewContentProtocol.subscribe(to:componentType:_:)
Passing a Swift type itself is not supported.