light_set
Adjust lighting properties in 3ds Max: set name, color, intensity, shadows, enable state, cone angle, penumbra, decay, and position.
Instructions
修改一个灯光的属性:名称、颜色、倍增/强度、投影、启用、聚光锥角与半影、衰减、位置。强度在不同版本字段不同(multiplier 或 intensity),两个都接受,按目标灯光的字段写入。 [English] Modify a light: name, colour, multiplier/intensity, shadows, enabled, cone angle, penumbra, decay and position. Intensity differs across releases (multiplier vs intensity); both are accepted and written to whichever field the light has.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 新名称。 | New name. | |
| color | No | 颜色 [0-255],也可传 "#RRGGBB"。 | Colour [0-255], or a "#RRGGBB" string. | |
| decay | No | 衰减类型。 | Decay type. | |
| light | Yes | 灯光名称。 | Light name. | |
| enabled | No | 是否启用。 | Enabled. | |
| penumbra | No | 聚光半影(度)。 | Spot penumbra (degrees). | |
| position | No | 位置 [x,y,z]。 | Position [x,y,z]. | |
| coneAngle | No | 聚光锥角(度)。 | Spot cone angle (degrees). | |
| intensity | No | 强度(等价于 multiplier)。 | Intensity (alias of multiplier). | |
| multiplier | No | 倍增/强度。 | Multiplier/intensity. | |
| castShadows | No | 是否投影。 | Cast shadows. |