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