light_create_spot
Creates a targeted spot light in 3ds Max at a specified position, with automatic target offset and adjustable cone angle, penumbra, color, intensity, decay, and shadow casting.
Instructions
创建一个目标聚光灯(Target Spot)。灯光在给定位置创建,目标点自动偏移;可设锥角与半影。 [English] Create a target Spot light at the given position with an auto-offset target. Set cone angle and penumbra.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 灯光名称。 | Light name. | |
| color | No | 颜色 [0-255],也可传 "#RRGGBB"。 | Colour [0-255], or a "#RRGGBB" string. | |
| decay | No | 衰减类型。 | Decay type. | |
| penumbra | No | 聚光半影(度)。 | Spot penumbra (degrees). | |
| position | No | 位置 [x,y,z]。 | Position [x,y,z]. | |
| coneAngle | No | 聚光锥角(度)。 | Spot cone angle (degrees). | |
| multiplier | No | 倍增/强度。 | Multiplier/intensity. | |
| castShadows | No | 是否投影,默认否。 | Cast shadows, default false. |