Struct Any<T1, T2, T3>
Namespace: KenseiECS
Spec requiring at least one of the listed components: adds an Any constraint for each type parameter.
csharp
public struct Any<T1, T2, T3> : IFilterSpec where T1 : struct, IComponent where T2 : struct, IComponent where T3 : struct, IComponentType Parameters
T1
Component type, at least one of which is required.
T2
Component type, at least one of which is required.
T3
Component type, at least one of which is required.
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Apply(FilterBuilder)
Adds this spec's constraints to builder.
csharp
public void Apply(FilterBuilder builder)Parameters
builder FilterBuilder
Builder that receives the constraints.
