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