Contents

init(where:)

Creates a query that returns all entities in a scene that match specific criteria.

Declaration

init(where predicate: QueryPredicate<Entity>)

Parameters

  • predicate:

    The criteria that specifies the entities to return.

See Also

Creating an entity query