Signature.Get_T1,T2,T3,T4,T5_().md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.Signature

Signature.Get<T1,T2,T3,T4,T5>() Method

Returns a query Signature<T1,T2,T3,T4,T5> containing the specified component types.

public static Friflo.Engine.ECS.Signature<T1,T2,T3,T4,T5> Get<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.Signature<T1,T2,T3,T4,T5>

Remarks

It can be used to query entities with the specified component types with EntityStore.Query() methods.