Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
| Context not available. | |||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_Scene_glsl_update"); | RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_Scene_glsl_update"); | ||||
| prop = RNA_def_property(srna, "motion_blur_shutter", PROP_FLOAT, PROP_UNSIGNED); | prop = RNA_def_property(srna, "motion_blur_shutter", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_float_sdna(prop, NULL, "blurfac"); | RNA_def_property_float_sdna(prop, NULL, "blurfac"); | ||||
| RNA_def_property_ui_range(prop, 0.01f, 2.0f, 1, 2); | RNA_def_property_ui_range(prop, 0.01f, 2.0f, 1, 2); | ||||
| RNA_def_property_ui_text(prop, "Shutter", "Time taken in frames between shutter open and close"); | RNA_def_property_ui_text(prop, "Shutter", "Time taken in frames between shutter open and close"); | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Show Cubemap Cache", "Display captured cubemaps in the viewport"); | RNA_def_property_ui_text(prop, "Show Cubemap Cache", "Display captured cubemaps in the viewport"); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | ||||
| prop = RNA_def_property(srna, "gi_irradiance_display_size", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "gi_irradiance_display_size", PROP_FLOAT, PROP_UNIT_LENGTH); | ||||
| RNA_def_property_float_sdna(prop, NULL, "gi_irradiance_draw_size"); | RNA_def_property_float_sdna(prop, NULL, "gi_irradiance_draw_size"); | ||||
| RNA_def_property_range(prop, 0.05f, 10.0f); | RNA_def_property_range(prop, 0.05f, 10.0f); | ||||
| RNA_def_property_float_default(prop, 0.1f); | RNA_def_property_float_default(prop, 0.1f); | ||||
| RNA_def_property_ui_text(prop, "Irradiance Display Size", "Size of the irradiance sample spheres to debug captured light"); | RNA_def_property_ui_text(prop, "Irradiance Display Size", "Size of the irradiance sample spheres to debug captured light"); | ||||
| prop = RNA_def_property(srna, "gi_cubemap_display_size", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "gi_cubemap_display_size", PROP_FLOAT, PROP_UNIT_LENGTH); | ||||
| RNA_def_property_float_sdna(prop, NULL, "gi_cubemap_draw_size"); | RNA_def_property_float_sdna(prop, NULL, "gi_cubemap_draw_size"); | ||||
| RNA_def_property_range(prop, 0.05f, 10.0f); | RNA_def_property_range(prop, 0.05f, 10.0f); | ||||
| RNA_def_property_float_default(prop, 0.3f); | RNA_def_property_float_default(prop, 0.3f); | ||||
| Context not available. | |||||