dist/claygl.es.js
function (node) {
        var parent = node._parent;
        while(parent) {
            if (parent === this) {
                return true;
            }
            parent = parent._parent;
        }
        return false;
    }
function (node) {
        var parent = node._parent;
        while(parent) {
            if (parent === this) {
                return true;
            }
            parent = parent._parent;
        }
        return false;
    }
function ( node ) { var parent = node . _parent ; while ( parent ) { if ( parent === this ) { return true ; } parent = parent . _parent ; } return false ; }
Return true if it is ancestor of the given scene node
@param {clay.Node} node
Return true if it is ancestor of the given scene node