findAllLights

Finds every ZLight in a ZObject tree starting at root, in depth-first preorder (same order as treeTraverse).

Return

All ZLight instances found; empty if there are none.

Parameters

root

The root ZObject from which to start the search.