Function createClusteredPointLight
-
createClusteredPointLight(
container: ClusteredLightContainer,
options: ClusteredPointLightOptions,
): ClusteredPointLightParameters
- container: ClusteredLightContainer
The container to add the light to.
- options: ClusteredPointLightOptions
The light's position, colour and (optional) range/intensity.
Returns ClusteredPointLight
The created light (also pushed onto
container.pointLights); mutate it in place and call markClusteredLightContainerDirty to animate it. - container: ClusteredLightContainer
Add a point light to a clustered light container.