Blender
V3.3
|
General operations for probes. More...
Go to the source code of this file.
Functions | |
void | BKE_lightprobe_type_set (struct LightProbe *probe, short lightprobe_type) |
void * | BKE_lightprobe_add (struct Main *bmain, const char *name) |
General operations for probes.
Definition in file BKE_lightprobe.h.
Definition at line 124 of file lightprobe.c.
References BKE_id_new(), and ID_LP.
Referenced by BKE_object_obdata_add_from_type().
void BKE_lightprobe_type_set | ( | struct LightProbe * | probe, |
short | lightprobe_type | ||
) |
Definition at line 100 of file lightprobe.c.
References LightProbe::attenuation_type, BLI_assert_msg, LightProbe::clipsta, LightProbe::distinf, LightProbe::falloff, LIGHTPROBE_SHAPE_ELIPSOID, LIGHTPROBE_TYPE_CUBE, LIGHTPROBE_TYPE_GRID, LIGHTPROBE_TYPE_PLANAR, and LightProbe::type.
Referenced by lightprobe_add_exec().