Skip to main content

Type Alias: Environment

type Environment = {
clearColor: Vec3;
ambientColorTop: Vec3;
ambientColorBottom: Vec3;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/sceneSettings.d.ts:134

Settings for the environment

Properties​

clearColor​

clearColor: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/sceneSettings.d.ts:139

Solid color used to clear the screen before drawing.

Default Value​

[0, 0, 0];

ambientColorTop​

ambientColorTop: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/sceneSettings.d.ts:144

Color of the spherical gradient at the top of the sphere.

Default Value​

[1, 1, 1];

ambientColorBottom​

ambientColorBottom: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/sceneSettings.d.ts:149

Color of the spherical gradient at the bottom of the sphere.

Default Value​

[1, 1, 1];