Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_light.c
| Context not available. | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Cascade Fade", "How smooth is the transition between each cascade"); | prop, "Cascade Fade", "How smooth is the transition between each cascade"); | ||||
| RNA_def_property_update(prop, 0, "rna_Light_update"); | RNA_def_property_update(prop, 0, "rna_Light_update"); | ||||
| prop = RNA_def_property(srna, "sun_angle", PROP_FLOAT, PROP_ANGLE); | |||||
| RNA_def_property_float_sdna(prop, NULL, "sun_angle"); | |||||
| RNA_def_property_float_default(prop, 0.526f); | |||||
| RNA_def_property_range(prop, DEG2RADF(1.0f), DEG2RADF(180.0f)); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Angle", "Angular diameter of the Sun as seen from the Earth"); | |||||
| RNA_def_property_update(prop, 0, "rna_Light_update"); | |||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||