findAllDirectLights

Finds all direct lights (directional, point, spot) in a ZObject tree starting at root, excluding ambient lights. Returns only enabled lights.

Return

All enabled direct ZLight instances found; empty if there are none.

Parameters

root

The root ZObject from which to start the search.