Struct EntityQuery
Namespace: ReadyM.SDK.Client.Entities
Assembly: ReadyM.SDK.Client.dll
Every entity of a shape. How it is walked is decided for you: a shape whose components are all known at compile time is walked by chunk, and anything else by identity. The choice is made by overload resolution, so this type has no GetEnumerator of its own and a foreach binds one of the extensions instead. A netstandard2.0 client has no chunk path at all, so every query there walks identities.
public readonly struct EntityQuery<T> where T : struct, IArchetypeQueryable
Type Parameters
T
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
InScope(Scope)
Narrows the query to the entities one scope holds.
public ScopedQuery<T> InScope(Scope scope)
Parameters
scope Scope
Returns
ScopedQuery<T>