Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Depth of Field", "Enable depth of field using the values from the active camera"); | RNA_def_property_ui_text(prop, "Depth of Field", "Enable depth of field using the values from the active camera"); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | ||||
| prop = RNA_def_property(srna, "bokeh_max_size", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "bokeh_max_size", PROP_FLOAT, PROP_PIXEL); | ||||
| RNA_def_property_float_default(prop, 100.0f); | RNA_def_property_float_default(prop, 100.0f); | ||||
| RNA_def_property_ui_text(prop, "Max Size", "Max size of the bokeh shape for the depth of field (lower is faster)"); | RNA_def_property_ui_text(prop, "Max Size", "Max size of the bokeh shape for the depth of field (lower is faster)"); | ||||
| RNA_def_property_range(prop, 0.0f, 2000.0f); | RNA_def_property_range(prop, 0.0f, 2000.0f); | ||||
| Context not available. | |||||
| RNA_def_property_range(prop, 0.0f, 1.0f); | RNA_def_property_range(prop, 0.0f, 1.0f); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | ||||
| prop = RNA_def_property(srna, "bloom_radius", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "bloom_radius", PROP_FLOAT, PROP_PIXEL); | ||||
| RNA_def_property_float_default(prop, 6.5f); | RNA_def_property_float_default(prop, 6.5f); | ||||
| RNA_def_property_ui_text(prop, "Radius", "Bloom spread distance"); | RNA_def_property_ui_text(prop, "Radius", "Bloom spread distance"); | ||||
| RNA_def_property_range(prop, 0.0f, 100.0f); | RNA_def_property_range(prop, 0.0f, 100.0f); | ||||
| Context not available. | |||||