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