Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Light

Hierarchy

  • Light

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • PUBLIC METHODS

    Returns Light

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(): object
  • set color(value: Partial<Color3>): void
  • Returns object

  • Parameters

    Returns void

Methods

copy

  • Parameters

    Returns this

toJSON

  • Returns LightLike