WorldQueryExtensions
public static class WorldQueryExtensionsRuns a body over every entity a query matches.
No guide page documents this yet — the page shows what the code says about itself.
Methods (64)
public static void Query<T0>(this World world, QueryDescription description, QueryAction<T0> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0>(this World world, QueryDescription description, QueryEntityAction<T0> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0>Runs the body over every entity the query matches.
public static void Query<T0, T1>(this World world, QueryDescription description, QueryAction<T0, T1> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1>(this World world, QueryDescription description, QueryEntityAction<T0, T1> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2>(this World world, QueryDescription description, QueryAction<T0, T1, T2> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>Runs the body over every entity the query matches.
public static void Query<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this World world, QueryDescription description, QueryAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> action, uint since = 0)Runs the body over every entity the query matches.
public static void QueryWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this World world, QueryDescription description, QueryEntityAction<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> action, uint since = 0)Runs the body over every entity the query matches.
public static void ForEach<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEach<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>Runs the body over every entity the query matches.
public static void ForEachWithEntity<TVisitor, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this World world, QueryDescription description, ref TVisitor visitor, uint since = 0) where TVisitor : struct, IForEachWithEntity<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>Runs the body over every entity the query matches.
Used by (6)
- WorldBenchmarksVixen.Benchmarks.Ecs
- CommandBufferTestsVixen.Ecs.Tests
- DeterminismTestsVixen.Ecs.Tests
- IntegrateSystemVixen.Ecs.Tests
- MoveSystemVixen.Ecs.Tests
- QueryTestsVixen.Ecs.Tests