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

x/threejs_4_deno/src/Three.js>Light

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

Abstract base class for lights.

Constructors

new
Light(hex?: number | string, intensity?: number)

Properties

color: Color
intensity: number
readonly
isLight: true
shadow: LightShadow
deprecated
shadowBias: any
deprecated
shadowCameraBottom: any
deprecated
shadowCameraFar: any
deprecated
shadowCameraFov: any
deprecated
shadowCameraLeft: any
deprecated
shadowCameraNear: any
deprecated
shadowCameraRight: any
deprecated
shadowCameraTop: any
deprecated
shadowMapHeight: any
deprecated
shadowMapWidth: any
type: string