AEntitySetSystem_T_.AEntitySetSystem(World,Func_object,World,EntitySet_,IParallelRunner,int).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.System.AEntitySetSystem<T>

AEntitySetSystem(World, Func<object,World,EntitySet>, IParallelRunner, int) Constructor

Initialise a new instance of the AEntitySetSystem<T> class with the given World and factory.
The current instance will be passed as the first parameter of the factory.

protected AEntitySetSystem(DefaultEcs.World world, System.Func<object,DefaultEcs.World,DefaultEcs.EntitySet> factory, DefaultEcs.Threading.IParallelRunner runner, int minEntityCountByRunnerIndex);

Parameters

world World

The World from which to get the Entity instances to process the update.

factory System.Func<System.Object,World,EntitySet>

The factory used to create the EntitySet.

runner IParallelRunner

The IParallelRunner used to process the update in parallel if not null.

minEntityCountByRunnerIndex System.Int32

The minimum number of Entity per runner index to use the given runner.

Exceptions

System.ArgumentNullException
world is null.

System.ArgumentNullException
factory is null.