Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Light

Hierarchy

  • Light

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

enabled

enabled: boolean = true

intensity

intensity: number = 1

range

range: number = 1

spotAngle

spotAngle: number = Math.PI / 4

type

type: LightType = "point"

Accessors

color

  • get color(): {}
  • set color(value: Partial<Color3>): void

Methods

copy

toJSON