An AmbientLight is an Urbject that implements the Light interface and shines evenly across all Trigons in the Scene regardless of distance or orientation.
See also: Urbject, Light
Constructors
Variables
Public Variables
| brightness: number |
The brightness of the light. Any value over 1 is considered "overexposed". |
| color: Color |
The color of the light. See also: Color
|
Functions
Static Functions
| AmbientLight.copy(l: AmbientLight, options?: { shallow: boolean } ): AmbientLight |
Returns a copy of the AmbientLight or a new AmbientLight from an Object with all of the necessary AmbientLight and Urbject public attributes. If shallow is true, the children of the Urbject will not be included in the copy. |
| AmbientLight.getInstance(l: AmbientLight, camera: Camera): FrameInstance |
Returns the FrameInstance of the given AmbientLight with its light added. See also: Urbject, FrameInstance
|
| AmbientLight.intensityOn(l: AmbientLight, t: Trigon): number |
Returns the intensity of the light on the given Trigon. See also: Trigon
|
Home
Copyright © 2020 Trevor Richard