Skip to content

Struct Exc<T1, T2> ​

Namespace: KenseiECS

Spec excluding entities that have any listed component: adds an Exc constraint for each type parameter.

csharp
public struct Exc<T1, T2> : IFilterSpec where T1 : struct, IComponent where T2 : struct, IComponent

Type Parameters ​

T1

Excluded component type.

T2

Excluded component type.

Implements ​

IFilterSpec

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.