Documentation / @ripl/3d / lightIsAmbient
Function: lightIsAmbient() ​
lightIsAmbient(
light):light is AmbientLight
Defined in: 3d/src/core/lights.ts:382
Type guard that narrows a light to an AmbientLight.
Parameters ​
| Parameter | Type |
|---|---|
light | Light |
Returns ​
light is AmbientLight