跳到主要内容
版本:Next

Struct EntityQuery<T1, T2>

Namespace: ReadyM.SDK.Server.Entities
Assembly: ReadyM.SDK.Server.dll

Every entity carrying all 2 shapes, without an archetype that names them.

public readonly ref struct EntityQuery<T1, T2> where T1 : struct, IArchetypeQueryable where T2 : struct, IArchetypeMixin

Type Parameters​

T1

T2

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<T1, T2> InScope(Scope scope)

Parameters​

scope Scope

Returns​

ScopedQuery<T1, T2>