EntityStoreBase.Query_T1,T2,T3_().md

July 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntityStoreBase

EntityStoreBase.Query<T1,T2,T3>() Method

Create a reusable ArchetypeQuery for the given component types.
See Example.

public Friflo.Engine.ECS.ArchetypeQuery<T1,T2,T3> Query<T1,T2,T3>()
    where T1 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType
    where T2 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType
    where T3 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;

Type parameters

T1

T2

T3

Returns

Friflo.Engine.ECS.ArchetypeQuery<T1,T2,T3>