dist/claygl.es.js
function (scene) {
        if (this.scene) {
            this.detachScene();
        }
        scene.skybox = this;

        this.scene = scene;
        scene.on('beforerender', this._beforeRenderScene, this);
    }
function (scene) {
        if (this.scene) {
            this.detachScene();
        }
        scene.skybox = this;

        this.scene = scene;
        scene.on('beforerender', this._beforeRenderScene, this);
    }
function ( scene ) { if ( this . scene ) { this . detachScene ( ) ; } scene . skybox = this ; this . scene = scene ; scene . on ( 'beforerender' , this . _beforeRenderScene , this ) ; }
Attach the skybox to the scene
@param  {clay.Scene} scene
Attach the skybox to the scene