Table of Contents

Class QueryIterationExtensions

Namespace
Frent.Systems
Assembly
Frent.dll

Extensions to execute behavior on queries.

public static class QueryIterationExtensions
Inheritance
QueryIterationExtensions
Inherited Members

Methods

Delegate<T>(Query, Query<T>)

Executes a delegate for every entity in a query, using the specified component types.

public static void Delegate<T>(this Query query, QueryDelegates.Query<T> action)

Parameters

query Query

The query to iterate over.

action QueryDelegates.Query<T>

The behavior to execute on every component set.

Type Parameters

T

Inline<TAction, T>(Query, TAction)

Executes a inlinable struct instance method for every entity in a query, using the specified component types.

public static void Inline<TAction, T>(this Query query, TAction action) where TAction : IAction<T>

Parameters

query Query

The query to iterate over.

action TAction

The struct behavior to execute on every component set.

Type Parameters

TAction
T