componentCount

Returns the number of light components (may include inactive/destroyed lights). Check with EntityManager.isAlive() before use if needed.

Return

Number of light components