sample/assets/js/babylon.max.js
function getImmediateChildByName(node, name) {
                return node.getChildMeshes(true, function (n) { return n.name == name; })[0];
            }
function getImmediateChildByName(node, name) {
                return node.getChildMeshes(true, function (n) { return n.name == name; })[0];
            }
function getImmediateChildByName ( node , name ) { return node . getChildMeshes ( true , function ( n ) { return n . name == name ; } ) [ 0 ] ; }
Look through only immediate children. This will return null if no mesh exists with the given name.
Look through only immediate children . This will return null if no mesh exists with the given name .