Skip to content

Commit cfe66e8

Browse files
committed
更新 spot-light 组件的属性介绍
1 parent a64eab0 commit cfe66e8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

versions/3.8/en/concepts/scene/light/lightType/spot-light.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ For the Spotlight component interface, please refer to [SpotLight API](%__APIDOC
2626
| Size | Sets the light size. |
2727
| Range | Sets the range of light effect. |
2828
| SpotAngle | Adjusts the spot angle to control the light range. |
29+
| AngleAttenuationStrength | The larger the value, the softer the edge, and the smaller the value, the harder the edge. |
2930
| Term | Sets the light intensity unit type, including **LUMINOUS_POWER** and **LUMINANCE**.
3031
| LuminousPower | Luminous flux in **lumens (lm)**. <br>Effective when **Term** is set to **LUMINOUS_POWER**. |
3132
| Luminance | Brightness in **Candela per square meter (cd/m<sup>2</sup>)**.<br>Effective when **Term** is set to **LUMINANCE**. |

versions/3.8/zh/concepts/scene/light/lightType/spot-light.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
| Size | 设置光源大小 |
2727
| Range | 设置光照影响范围 |
2828
| SpotAngle | 调整聚光角度,控制光照范围 |
29+
| AngleAttenuationStrength | 聚光灯角度衰减强度。值越大,边缘越柔和,值越小,边缘越硬 |
2930
| Term | 设置光照强度单位类型,包括 **光通量(LUMINOUS_POWER)****亮度(LUMINANCE)** 两种 |
3031
| LuminousPower | 光通量,单位 **流明(lm)**<br>当 **Term** 设置为 **LUMINOUS_POWER** 时生效 |
3132
| Luminance | 亮度,单位 **坎德拉每平方米(cd/m<sup>2</sup>)**<br>当 **Term** 设置为 **LUMINANCE** 时生效 |

0 commit comments

Comments
 (0)