EntityStore.GetEntityById(int).md

March 31, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntityStore

EntityStore.GetEntityById(int) Method

Returns the Entity with the passed id.
The returned entity can be null (IsNull == true).

public Friflo.Engine.ECS.Entity GetEntityById(int id);

Parameters

id System.Int32

Returns

Entity

Exceptions

System.IndexOutOfRangeException
In case passed id invalid (id >= Capacity).

Contents

  1. 0.1Friflo.Engine.ECS.EntityStore
  2. 1EntityStore.GetEntityById(int) Method