/** Copyright (c) 2021 The v3d Authors. All rights reserved. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ import { BackgroundMaterial, BaseTexture, CubeTexture, Mesh, Scene } from "@babylonjs/core"; import { SkyMaterial } from "@babylonjs/materials"; export declare class v3DSkyBox { private readonly scene; private readonly textureName; readonly boxSize: number; readonly envTexture?: BaseTexture; private static _environmentTextureCDNUrl; private readonly _skybox; private readonly _skyboxBase; get skybox(): Mesh; skyboxMaterial: BackgroundMaterial; skyboxBaseMaterial: SkyMaterial; skyboxReflectionTexture: CubeTexture; constructor(scene: Scene, textureName: string, boxSize: number, envTexture?: BaseTexture); /** * Setup the skybox material and the skybox reflection texture * @param textureName name (URI) to the texture files * @private */ private createMaterial; /** * Setup the image processing according to the specified options. */ private setupImageProcessing; }