Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Light

Hierarchy

  • Light

Implements

Index

Constructors

constructor

Accessors

color

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

enabled

  • get enabled(): boolean
  • set enabled(value: boolean): void

intensity

  • get intensity(): number
  • set intensity(value: number): void

range

  • get range(): number
  • set range(value: number): void

spotAngle

  • get spotAngle(): number
  • set spotAngle(value: number): void

type

  • get type(): "spot" | "point" | "directional"
  • set type(value: "spot" | "point" | "directional"): void

Methods

copyDirect

  • copyDirect(light: Partial<LightLike>): this

toJSON