Documentation

Unity Engine

Download Unity

Unity Engine

NextEntityIndex(out int)

Iterates through the given ArchetypeChunk, retrieving the index of the next available entity as defined by the mask info provided to the constructor.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

NextEntityIndex(int)

public bool NextEntityIndex(out int nextIndex)

Parameters

nextIndex

The index of the next available entity in the ArchetypeChunk, or -1 when the function returns false.

Returns

Type

Description

boolWhether the iteration should continue.