SwiftstructRealityFoundation
struct RealityFoundation.QueryPredicate
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolRealityFoundation.QueryEvaluable
Members 20
- func
static canInteract(on: RealityKit.Scene?) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static has<A where A1: RealityKit.Component>(A1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static hasAll<A, B, C, D where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component, D1: RealityKit.Component>(A1.Type, B1.Type, C1.Type, D1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static hasAll<A, B, C where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component>(A1.Type, B1.Type, C1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static hasAll<A, B where A1: RealityKit.Component, B1: RealityKit.Component>(A1.Type, B1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static hasAny<A, B, C, D where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component, D1: RealityKit.Component>(A1.Type, B1.Type, C1.Type, D1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static hasAny<A, B, C where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component>(A1.Type, B1.Type, C1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static hasAny<A, B where A1: RealityKit.Component, B1: RealityKit.Component>(A1.Type, B1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static isChild(of: RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static isChild(of: () -> RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static isDescendant(of: RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - func
static isDescendant(of: () -> RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> - field
let enumerateBlock: @MainActor (RealityFoundation.QueryEnumerator) -> ()+0x20 - field
let evaluateBlock: @MainActor (A) -> Bool+0x0 - field
let makeInternalBlock: @MainActor () -> OpaquePointer?+0x10 - field
let performNativeEntityQueryBlock: (@MainActor (RealityKit.Scene) -> [RealityKit.Entity]?)?+0x30 - func
enumerate(using: RealityFoundation.QueryEnumerator) -> () - func
evaluate(value: A) -> Bool - typealias
typealias Result = Swift.Bool - typealias
typealias Value = A
Header
struct QueryPredicate<A> { let evaluateBlock: @Swift.MainActor (_: A) -> Swift.Bool let makeInternalBlock: @Swift.MainActor () -> Swift.OpaquePointer? let enumerateBlock: @Swift.MainActor (_: any RealityFoundation.QueryEnumerator) -> () let performNativeEntityQueryBlock: (@Swift.MainActor (_: RealityKit.Scene) -> [RealityKit.Entity]?)? func evaluate(value: A) -> Swift.Bool func enumerate(using: any RealityFoundation.QueryEnumerator) static func canInteract(on: RealityKit.Scene?) -> RealityFoundation.QueryPredicate<RealityKit.Entity> static func isDescendant(of: RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> static func isDescendant(of: @escaping () -> RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> static func has<A1>(_: A1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> where A1: RealityKit.Component static func hasAll<A1, B1, C1, D1>(_: A1.Type, _: B1.Type, _: C1.Type, _: D1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component, D1: RealityKit.Component static func hasAll<A1, B1, C1>(_: A1.Type, _: B1.Type, _: C1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component static func hasAll<A1, B1>(_: A1.Type, _: B1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> where A1: RealityKit.Component, B1: RealityKit.Component static func hasAny<A1, B1, C1, D1>(_: A1.Type, _: B1.Type, _: C1.Type, _: D1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component, D1: RealityKit.Component static func hasAny<A1, B1, C1>(_: A1.Type, _: B1.Type, _: C1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> where A1: RealityKit.Component, B1: RealityKit.Component, C1: RealityKit.Component static func hasAny<A1, B1>(_: A1.Type, _: B1.Type) -> RealityFoundation.QueryPredicate<RealityKit.Entity> where A1: RealityKit.Component, B1: RealityKit.Component static func isChild(of: RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> static func isChild(of: @escaping () -> RealityKit.Entity) -> RealityFoundation.QueryPredicate<RealityKit.Entity> }