Struct QueryBuilder
A variadic type for building queries. Should not be implemented manually.
public readonly struct QueryBuilder : IQueryBuilder
- Implements
- Inherited Members
Constructors
QueryBuilder(World)
A variadic type for building queries. Should not be implemented manually.
public QueryBuilder(World world)
Parameters
world
World
Properties
World
A variadic type for building queries. Should not be implemented manually.
public World World { get; init; }
Property Value
Methods
AddRules(List<Rule>)
A variadic type for building queries. Should not be implemented manually.
public void AddRules(List<Rule> rules)
Parameters
Build()
A variadic type for building queries. Should not be implemented manually.
public Query Build()
Returns
- Query
Tagged<N>()
Includes entities with the tag N
in this query.
public QueryTagged<N, QueryBuilder> Tagged<N>()
Returns
Type Parameters
N
The type of tag of include.
Untagged<N>()
Excludes entities with the tag N
from this query.
public QueryUntagged<N, QueryBuilder> Untagged<N>()
Returns
Type Parameters
N
The type of tag of excludes.
With<N>()
Includes entities with the component N
in this query.
public QueryWith<N, QueryBuilder> With<N>()
Returns
Type Parameters
N
The type of component to include.
Without<N>()
Excludes entities with the component N
from this query.
public QueryWithout<N, QueryBuilder> Without<N>()
Returns
Type Parameters
N
The type of component to exclude.