getInstance

Get the light component instance for an entity.

Return

EntityInstance representing the light. Transient: keep the Entity, not the Instance, across frames.

Parameters

entity

Entity with a light component