Finds the first ZModel in a given ZObject tree starting at root.

Return

The first ZModel object found within the tree, or null if no ZModel object is found.

Parameters

root

The root ZObject from which to start the search.