Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 2.31 KB

EntityStoreBase.Query_T1,T2,T3,T4_().md

File metadata and controls

35 lines (23 loc) · 2.31 KB

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

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

public Friflo.Engine.ECS.ArchetypeQuery<T1,T2,T3,T4> Query<T1,T2,T3,T4>()
    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
    where T4 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;

Type parameters

T1

T2

T3

T4

Returns

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