Struct QueryWith<T, TRest>
A variadic type for building queries. Should not be implemented manually.
public struct QueryWith<T, TRest> : IQueryBuilder where TRest : struct, IQueryBuilder
Type Parameters
T
TRest
- Implements
- Inherited Members
Constructors
QueryWith(World)
A variadic type for building queries. Should not be implemented manually.
public QueryWith(World world)
Parameters
world
World
Properties
World
A variadic type for building queries. Should not be implemented manually.
public World World { readonly 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 readonly Query Build()
Returns
- Query
Tagged<N>()
Includes entities with the tag N
in this query.
public readonly QueryTagged<N, QueryWith<T, TRest>> Tagged<N>()
Returns
- QueryTagged<N, QueryWith<T, TRest>>
Type Parameters
N
The type of tag of include.
Untagged<N>()
Excludes entities with the tag N
from this query.
public readonly QueryUntagged<N, QueryWith<T, TRest>> Untagged<N>()
Returns
- QueryUntagged<N, QueryWith<T, TRest>>
Type Parameters
N
The type of tag of excludes.
With<N>()
Includes entities with the component N
in this query.
public readonly QueryWith<N, QueryWith<T, TRest>> With<N>()
Returns
Type Parameters
N
The type of component to include.
Without<N>()
Excludes entities with the component N
from this query.
public readonly QueryWithout<N, QueryWith<T, TRest>> Without<N>()
Returns
- QueryWithout<N, QueryWith<T, TRest>>
Type Parameters
N
The type of component to exclude.