98 rna_World_draw_update(bmain,
scene,
ptr);
118 "Use Ambient Occlusion",
119 "Use Ambient Occlusion to add shadowing based on distance between objects");
132 prop,
"Distance",
"Length of rays, defines how far away other faces give occlusion effect");
143 {
WO_MIST_LINEAR,
"LINEAR", 0,
"Linear",
"Use linear progression"},
148 "Use inverse quadratic progression"},
160 prop,
"Use Mist",
"Occlude objects with the environment color as they are further away");
174 prop,
"Start",
"Starting distance of the mist, measured from the camera");
202 static float default_world_color[] = {0.05f, 0.05f, 0.05f};
208 "World data-block describing the environment and ambient lighting of a scene");
struct Scene * CTX_data_scene(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
void DEG_id_tag_update(struct ID *id, int flag)
void DEG_relations_tag_update(struct Main *bmain)
@ WO_MIST_INVERSE_QUADRATIC
void ED_node_shader_default(const struct bContext *C, struct ID *id)
Read Guarded memory(de)allocation.
StructRNA RNA_WorldLighting
StructRNA RNA_WorldMistSettings
PointerRNA rna_pointer_inherit_refine(PointerRNA *ptr, StructRNA *type, void *data)
void rna_def_animdata_common(StructRNA *srna)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_float_array_default(PropertyRNA *prop, const float *array)
void RNA_def_struct_nested(BlenderRNA *brna, StructRNA *srna, const char *structname)
void RNA_def_world(BlenderRNA *brna)
static void rna_def_world_mist(BlenderRNA *brna)
static void rna_def_lighting(BlenderRNA *brna)
struct bNodeTree * nodetree
void WM_main_add_notifier(unsigned int type, void *reference)