Swiftprotocol_RealityKit_SwiftUI
RealityViewContentProtocol
protocol _RealityKit_SwiftUI.RealityViewContentProtocol
Members 7
- associatedtype
associatedtype Entities - func
add(RealityKit.Entity) -> () - func
remove(RealityKit.Entity) -> () - func
method descriptor for subscribe<A where A1: RealityKit.Event>(to: A1.Type, on: RealityKit.EventSource?, componentType: RealityKit.Component.Type?, _: (A1) -> ()) -> RealityFoundation.EventSubscription - func
subscribe<A where A1: RealityKit.Event>(to: A1.Type, componentType: RealityKit.Component.Type?, _: (A1) -> ()) -> RealityFoundation.EventSubscription - func
subscribe<A where A1: RealityKit.Event>(to: A1.Type, on: RealityKit.EventSource?, _: (A1) -> ()) -> RealityFoundation.EventSubscription - var
var entities: A.Entities { get set modify }
Header
protocol RealityViewContentProtocol where Self.Entities: RealityFoundation.EntityCollection { associatedtype Entities var entities: Self.Entities { get set } func subscribe<A1>(to: A1.Type, on: (any RealityKit.EventSource)?, componentType: (any RealityKit.Component.Type)?, _: @escaping (_: A1) -> ()) -> RealityFoundation.EventSubscription where A1: RealityKit.Event } extension _RealityKit_SwiftUI.RealityViewContentProtocol { func add(_: RealityKit.Entity) func remove(_: RealityKit.Entity) func subscribe<A1>(to: A1.Type, componentType: (any RealityKit.Component.Type)?, _: @escaping (_: A1) -> ()) -> RealityFoundation.EventSubscription where A1: RealityKit.Event func subscribe<A1>(to: A1.Type, on: (any RealityKit.EventSource)?, _: @escaping (_: A1) -> ()) -> RealityFoundation.EventSubscription where A1: RealityKit.Event }