Class CM3LightSpot extends CM3LightDirectional
CM3LightSpot Class
THREE.js documentation: https://threejs.org/docs/#api/en/lights/SpotLight
Settings Group: SpotLight
Setting | Name | Type | Options | Default | Comments |
---|---|---|---|---|---|
angle | angle | CMTYPE_FLOAT | Math.PI / 5 | ||
penumbra | penumbra | CMTYPE_FLOAT | 0.3 | ||
castShadow | castShadow | CMTYPE_BOOLEAN | false | ||
ShadowNear | ShadowNear | CMTYPE_FLOAT | 8 | ||
ShadowFar | ShadowFar | CMTYPE_FLOAT | 300 | ||
ShadowMapWidth | ShadowMapWidth | CMTYPE_FLOAT | 1024 | ||
ShadowMapHeight | ShadowMapHeight | CMTYPE_FLOAT | 1024 |