85 rna_World_draw_update(bmain,
scene,
ptr);
98 void rna_World_lightgroup_set(
PointerRNA *
ptr,
const char *value)
120 "Use Ambient Occlusion",
121 "Use Ambient Occlusion to add shadowing based on distance between objects");
135 prop,
"Distance",
"Length of rays, defines how far away other faces give occlusion effect");
146 {
WO_MIST_LINEAR,
"LINEAR", 0,
"Linear",
"Use linear progression"},
151 "Use inverse quadratic progression"},
163 prop,
"Use Mist",
"Occlude objects with the environment color as they are further away");
177 prop,
"Start",
"Starting distance of the mist, measured from the camera");
205 static float default_world_color[] = {0.05f, 0.05f, 0.05f};
211 "World data-block describing the environment and ambient lighting of a scene");
256 prop,
"rna_World_lightgroup_get",
"rna_World_lightgroup_length",
"rna_World_lightgroup_set");
struct Scene * CTX_data_scene(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
void BKE_lightgroup_membership_set(struct LightgroupMembership **lgm, const char *name)
void BKE_lightgroup_membership_get(struct LightgroupMembership *lgm, char *name)
int BKE_lightgroup_membership_length(struct LightgroupMembership *lgm)
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.
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
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_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
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_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
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)