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{}
- conformance:genericParameter
A1protocolRealityKit.Event
param{}
- 0to:metatype
A1.Type- basegenericParameter
A1
- 1on:enumSwift.Optional
- argexistential
EventSource
- 2componentType:enumSwift.Optional
- argmetatype
RealityKit.Component.Type- baseexistential
Component
- 3_function
(A1) -> ()escaping- paramgenericParameter
A1 - returnstuple
()