Summary
Methods:
Constructor
new SpotLight()
Parameters:
Name | Type | Description |
---|---|---|
options.innerAngle |
Number | 内锥角,默认60度 |
options.outerAngle |
Number | 外锥角,默认65度 |
Example
light=new hmap.light.SpotLight({
innerAngle:50, //内锥角50度
outerAngle:80 //外锥角80度
});
map.addLight(light)