Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_light.py
| Context not available. | |||||
| col.separator() | col.separator() | ||||
| if light.type in {'POINT', 'SPOT', 'SUN'}: | if light.type in {'POINT', 'SPOT'}: | ||||
| col.prop(light, "shadow_soft_size", text="Radius") | col.prop(light, "shadow_soft_size", text="Radius") | ||||
| elif light.type == 'SUN': | |||||
| col.prop(light, "sun_angle") | |||||
| elif light.type == 'AREA': | elif light.type == 'AREA': | ||||
| col.prop(light, "shape") | col.prop(light, "shape") | ||||
| Context not available. | |||||