Swiftprotocol_RealityKit_SwiftUI

protocol _RealityKit_SwiftUI.RealityViewContentProtocol

Members 7

  1. associatedtypeassociatedtype Entities
  2. funcadd(RealityKit.Entity) -> ()
  3. funcremove(RealityKit.Entity) -> ()
  4. funcmethod descriptor for subscribe<A where A1: RealityKit.Event>(to: A1.Type, on: RealityKit.EventSource?, componentType: RealityKit.Component.Type?, _: (A1) -> ()) -> RealityFoundation.EventSubscription
  5. funcsubscribe<A where A1: RealityKit.Event>(to: A1.Type, componentType: RealityKit.Component.Type?, _: (A1) -> ()) -> RealityFoundation.EventSubscription
  6. funcsubscribe<A where A1: RealityKit.Event>(to: A1.Type, on: RealityKit.EventSource?, _: (A1) -> ()) -> RealityFoundation.EventSubscription
  7. varvar entities: A.Entities { get set modify }
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
}