SwiftextensionRealityFoundation
EntityCollection
extension RealityFoundation.EntityCollection
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
Members 7
- func
append<A where A1: Sequence, A1.Element: RealityKit.Entity>(contentsOf: A1) -> () - func
append(RealityKit.Entity) -> () - func
insert(_: RealityKit.Entity, beforeIndex: Int) -> () - func
remove(RealityKit.Entity) -> () - func
removeAll(where: (RealityKit.Entity) throws -> Bool) throws -> () - func
removeAll() -> () - func
replaceAll<A where A1: Sequence, A1.Element: RealityKit.Entity>(A1) -> ()
Header
extension RealityFoundation.EntityCollection { func replaceAll<A1>(_: A1) where A1: Swift.Sequence, A1.Element: RealityKit.Entity func append<A1>(contentsOf: A1) where A1: Swift.Sequence, A1.Element: RealityKit.Entity func append(_: RealityKit.Entity) func insert(_: RealityKit.Entity, beforeIndex: Swift.Int) func remove(_: RealityKit.Entity) func removeAll(where: (_: RealityKit.Entity) throws -> Swift.Bool) throws func removeAll() }