[page:Object3D] →

# [name]

Abstract base class for lights - all other light types inherit the properties and methods described here.

## Constructor

### [name]( [param:Integer color], [param:float intensity] )

[page:Integer color] - (optional) hexadecimal color of the light. Default is 0xffffff (white).
[page:Float intensity] - (optional) numeric value of the light's strength/intensity. Default is 1.
Creates a new [name]. Note that this is not intended to be called directly (use one of derived classes instead).

## Properties

See the base [page:Object3D Object3D] class for common properties.

### [property:Color color]

Color of the light. Defaults to a new [page:Color] set to white, if not passed in the constructor.

### [property:Float intensity]

The light's intensity, or strength.
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, the product of [page:.color color] * intensity is interpreted as luminous intensity measured in candela.
Default - *1.0*.

### [property:Boolean isLight]

Used to check whether this or derived classes are lights. Default is *true*.
You should not change this, as it used internally for optimisation.

## Methods

See the base [page:Object3D Object3D] class for common methods.

### [method:Light copy]( [param:Light source] )

Copies the value of [page:.color color] and [page:.intensity intensity] from the [page:Light source] light into this one.

### [method:Object toJSON]( [param:object meta] )

meta -- object containing metadata such as materials, textures for objects.
Convert the light to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]