Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 2.81 KB

EntityStoreBase.Query_T1,T2,T3,T4,T5_().md

File metadata and controls

40 lines (26 loc) · 2.81 KB

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

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

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

Type parameters

T1

T2

T3

T4

T5

Returns

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