Swiftfunc_RealityKit_SwiftUI_RealityKit_SwiftUI.RealityViewContentProtocol

subscribe

method descriptor for _RealityKit_SwiftUI.RealityViewContentProtocol.subscribe<A where A1: RealityKit.Event>(to: A1.Type, on: RealityKit.EventSource?, componentType: RealityKit.Component.Type?, _: (A1) -> ()) -> RealityFoundation.EventSubscription

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

AA1

req{}

param{}

  1. 0to:
    metatypeA1.Type
    • basegenericParameterA1
  2. 1on:
  3. 2componentType:
  4. 3_
    function(A1) -> ()escaping
    • paramgenericParameterA1
    • returnstuple()