Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.PointLight

A framework for Beat Saber map scripting.
Go to Latest
class three.PointLight
extends Light
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { PointLight } = three;

Examples

const light = new THREE.PointLight( 0xff0000, 1, 100 ); light.position.set( 50, 50, 50 ); scene.add( light );

Constructors

new
PointLight(
intensity?: number,
distance?: number,
decay?: number,
)

Properties

decay: number
distance: number

If non-zero, light will attenuate linearly from maximum intensity at light position down to zero at distance.

intensity: number

Light's intensity.

power: number
type: string