Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/threejs_4_deno/src/Three.d.ts>AmbientLight

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class AmbientLight
extends Light
import { AmbientLight } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";

This light's color gets applied to all the objects in the scene globally.

Constructors

new
AmbientLight(color?: Color | string | number, intensity?: number)

This creates a Ambientlight with a color.

Properties

readonly
isAmbientLight: true
type: string