SwiftfuncRealityFoundationRealityKit.Scene
publisher
RealityKit.Scene.publisher<A where A: RealityKit.Event>(for: A.Type, on: RealityKit.EventSource?, componentType: RealityKit.Component.Type?, rootEntity: RealityKit.Entity?) -> RealityKit.Scene.Publisher<A>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- conformance:genericParameter
AprotocolRealityKit.Event
param{}
- 0for:metatype
A.Type- basegenericParameter
A
- 1on:enumSwift.Optional
- argexistential
EventSource
- 2componentType:enumSwift.Optional
- argmetatype
RealityKit.Component.Type- baseexistential
Component
- 3rootEntity:enumSwift.Optional
result{}
- arggenericParameter
A