Skip to content

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 ​

ParameterType
lightLight

Returns ​

light is HemisphereLight