Internal Use Only.
Flags : Cached, External (Note this is uncached)
Expression : R.THREE.makeLight(this.refChain, this.spec)
An override of the Render3Mixin rule to ensure this does not contribute to the bbox of its parent.
Flags : Cached (Note this is uncached)
Expression : R.THREE.makeBB();
An override of the Render3Mixin rule to ensure that this has no bbox.
Flags : Cached (Note this is uncached)
Expression : R.THREE.makeBB()
If true
, this light will cast shadows. Only Point, Spot, and Directional lights can cast shadows. Shadows must be enabled in the Scene in order for this to be respected.
Flags : Cached, Parameter (Note this is uncached)
Expression : true
The color which the light emits.
Flags : Cached, Parameter (Note this is uncached)
Expression : "White"
An override of the standard rule.
Flags : Cached (Note this is uncached)
Expression : false
One of: 'Ambient', 'Point', 'Directional', 'Spot', or 'Hemisphere'.
Flags : Cached, Parameter (Note this is uncached)
Expression : "Ambient"
Additional light-control options that can be supplied to three.js.
Flags : Cached, Parameter (Note this is uncached)
Expression : {}
If true
, a geometric representation of the light is added to the scene. Not all light types have a helper.
Flags : Cached, Parameter (Note this is uncached)
Expression : false
Internal Use Only.
Flags : Cached (Note this is uncached)
Expression : Object.assign({}, this.options, {lightType: this.lightType, color: this.color, target: this.target, showHelper: this.showHelper})
Defines the light aiming point. Only used by 'Directional' and 'Spot' lights.
Flags : Cached, Parameter (Note this is uncached)
Expression : this.nha.origin
Light (d.1.0)
Mixins: Render3Mixin, BaseModel
A virtual light which can be added to the scene. There are several types of lights available:
Use the options parameter to supply additional values to certain light types. See three.js for details.
Note that by default, a Scene includes a standard set of lights, or nothing would be visible. If you want complete control over lighting, you will need to create a scene without the default lights, which is done by setting the Scene parameter
useDefaultLights
tofalse
.