dist/claygl.es.js
function (name) {
        var scene = this._scene;
        if (scene) {
            var nodeRepository = scene._nodeRepository;
            delete nodeRepository[this.name];
            nodeRepository[name] = this;
        }
        this.name = name;
    }
function (name) {
        var scene = this._scene;
        if (scene) {
            var nodeRepository = scene._nodeRepository;
            delete nodeRepository[this.name];
            nodeRepository[name] = this;
        }
        this.name = name;
    }
function ( name ) { var scene = this . _scene ; if ( scene ) { var nodeRepository = scene . _nodeRepository ; delete nodeRepository [ this . name ] ; nodeRepository [ name ] = this ; } this . name = name ; }
Set the name of the scene node
@param {string} name
Set the name of the scene node