src/formats/collada/ColladaScene.js
function (position, sceneData) {
            if (!position) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "ColladaScene", "constructor", "missingPosition"));
            }

            Renderable.call(this);

            // Documented in defineProperties below.
            this._position = position;

            // Documented in defineProperties below.
            this._nodes = [];
            this._meshes = {};
            this._materials = {};
            this._images = {};
            this._upAxis = '';
            this._dirPath = '';

            // Documented in defineProperties below.
            this._xRotation = 0;
            this._yRotation = 0;
            this._zRotation = 0;

            // Documented in defineProperties below.
            this._xTranslation = 0;
            this._yTranslation = 0;
            this._zTranslation = 0;

            // Documented in defineProperties below.
            this._scale = 1;

            // Documented in defineProperties below.
            this._altitudeMode = WorldWind.ABSOLUTE;

            // Documented in defineProperties below.
            this._localTransforms = true;

            // Documented in defineProperties below.
            this._useTexturePaths = true;

            // Documented in defineProperties below.
            this._nodesToHide = [];
            this._hideNodes = false;

            // Documented in defineProperties below.
            this._placePoint = new Vec3(0, 0, 0);

            // Documented in defineProperties below.
            this._transformationMatrix = Matrix.fromIdentity();
            this._mvpMatrix = Matrix.fromIdentity();

            // Documented in defineProperties below.
            this._normalTransformMatrix = Matrix.fromIdentity();
            this._normalMatrix = Matrix.fromIdentity();
            this._texCoordMatrix = Matrix.fromIdentity().setToUnitYFlip();

            //Internal. Intentionally not documented.
            this._entities = [];

            //Internal. Intentionally not documented.
            this._activeTexture = null;

            //Internal. Intentionally not documented.
            this._tmpVector = new Vec3(0, 0, 0);
            this._tmpColor = new Color(1, 1, 1, 1);

            //Internal. Intentionally not documented.
            this._vboCacheKey = '';
            this._iboCacheKey = '';

            this.setSceneData(sceneData);
        }
function (position, sceneData) {
            if (!position) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "ColladaScene", "constructor", "missingPosition"));
            }

            Renderable.call(this);

            // Documented in defineProperties below.
            this._position = position;

            // Documented in defineProperties below.
            this._nodes = [];
            this._meshes = {};
            this._materials = {};
            this._images = {};
            this._upAxis = '';
            this._dirPath = '';

            // Documented in defineProperties below.
            this._xRotation = 0;
            this._yRotation = 0;
            this._zRotation = 0;

            // Documented in defineProperties below.
            this._xTranslation = 0;
            this._yTranslation = 0;
            this._zTranslation = 0;

            // Documented in defineProperties below.
            this._scale = 1;

            // Documented in defineProperties below.
            this._altitudeMode = WorldWind.ABSOLUTE;

            // Documented in defineProperties below.
            this._localTransforms = true;

            // Documented in defineProperties below.
            this._useTexturePaths = true;

            // Documented in defineProperties below.
            this._nodesToHide = [];
            this._hideNodes = false;

            // Documented in defineProperties below.
            this._placePoint = new Vec3(0, 0, 0);

            // Documented in defineProperties below.
            this._transformationMatrix = Matrix.fromIdentity();
            this._mvpMatrix = Matrix.fromIdentity();

            // Documented in defineProperties below.
            this._normalTransformMatrix = Matrix.fromIdentity();
            this._normalMatrix = Matrix.fromIdentity();
            this._texCoordMatrix = Matrix.fromIdentity().setToUnitYFlip();

            //Internal. Intentionally not documented.
            this._entities = [];

            //Internal. Intentionally not documented.
            this._activeTexture = null;

            //Internal. Intentionally not documented.
            this._tmpVector = new Vec3(0, 0, 0);
            this._tmpColor = new Color(1, 1, 1, 1);

            //Internal. Intentionally not documented.
            this._vboCacheKey = '';
            this._iboCacheKey = '';

            this.setSceneData(sceneData);
        }
function ( position , sceneData ) { if ( ! position ) { throw new ArgumentError ( Logger . logMessage ( Logger . LEVEL_SEVERE , "ColladaScene" , "constructor" , "missingPosition" ) ) ; } Renderable . call ( this ) ; // Documented in defineProperties below. this . _position = position ; // Documented in defineProperties below. this . _nodes = [ ] ; this . _meshes = { } ; this . _materials = { } ; this . _images = { } ; this . _upAxis = '' ; this . _dirPath = '' ; // Documented in defineProperties below. this . _xRotation = 0 ; this . _yRotation = 0 ; this . _zRotation = 0 ; // Documented in defineProperties below. this . _xTranslation = 0 ; this . _yTranslation = 0 ; this . _zTranslation = 0 ; // Documented in defineProperties below. this . _scale = 1 ; // Documented in defineProperties below. this . _altitudeMode = WorldWind . ABSOLUTE ; // Documented in defineProperties below. this . _localTransforms = true ; // Documented in defineProperties below. this . _useTexturePaths = true ; // Documented in defineProperties below. this . _nodesToHide = [ ] ; this . _hideNodes = false ; // Documented in defineProperties below. this . _placePoint = new Vec3 ( 0 , 0 , 0 ) ; // Documented in defineProperties below. this . _transformationMatrix = Matrix . fromIdentity ( ) ; this . _mvpMatrix = Matrix . fromIdentity ( ) ; // Documented in defineProperties below. this . _normalTransformMatrix = Matrix . fromIdentity ( ) ; this . _normalMatrix = Matrix . fromIdentity ( ) ; this . _texCoordMatrix = Matrix . fromIdentity ( ) . setToUnitYFlip ( ) ; //Internal. Intentionally not documented. this . _entities = [ ] ; //Internal. Intentionally not documented. this . _activeTexture = null ; //Internal. Intentionally not documented. this . _tmpVector = new Vec3 ( 0 , 0 , 0 ) ; this . _tmpColor = new Color ( 1 , 1 , 1 , 1 ) ; //Internal. Intentionally not documented. this . _vboCacheKey = '' ; this . _iboCacheKey = '' ; this . setSceneData ( sceneData ) ; }
Constructs a collada scene
@alias ColladaScene
@constructor
@augments Renderable
@classdesc Represents a scene. A scene is a collection of nodes with meshes, materials and textures.
@param {Position} position The scene's geographic position.
@param {Object} sceneData The scene's data containing the nodes, meshes, materials, textures and other
info needed to render the scene.
Constructs a collada scene