Class: Skybox

Skybox(scene, dir, environmentIntensityopt)

Utility class to create babylon skybox.

Constructor

new Skybox(scene, dir, environmentIntensityopt)

Parameters:
Name Type Attributes Default Description
scene BABYLON.Scene
dir String URL of the directory containing box images, babylonjs format
environmentIntensity number <optional>
0 intensity of environment texture
Source:

Classes

Skybox

Methods

create(scene, dir)

Create a skybox
Parameters:
Name Type Description
scene BABYLON.Scene
dir String URL of the directory containing box images, babylonjs format
Source:
Returns:
mesh of the box reated