1 #ifndef BAKED_LIGHT_INSTANCE_H 2 #define BAKED_LIGHT_INSTANCE_H 4 #include "scene/3d/visual_instance.h" 5 #include "scene/resources/baked_light.h" 18 static void _bind_methods();
22 RID get_baked_light_instance()
const;
27 virtual AABB get_aabb()
const;
42 PARAM_RADIUS=VS::BAKED_LIGHT_SAMPLER_RADIUS,
43 PARAM_STRENGTH=VS::BAKED_LIGHT_SAMPLER_STRENGTH,
44 PARAM_ATTENUATION=VS::BAKED_LIGHT_SAMPLER_ATTENUATION,
45 PARAM_DETAIL_RATIO=VS::BAKED_LIGHT_SAMPLER_DETAIL_RATIO,
46 PARAM_MAX=VS::BAKED_LIGHT_SAMPLER_MAX
54 float params[PARAM_MAX];
56 static void _bind_methods();
59 virtual AABB get_aabb()
const;
62 void set_param(Param p_param,
float p_value);
63 float get_param(Param p_param)
const;
65 void set_resolution(
int p_resolution);
66 int get_resolution()
const;
72 VARIANT_ENUM_CAST( BakedLightSampler::Param );
75 #endif // BAKED_LIGHT_H
Definition: baked_light_instance.h:10
Definition: baked_light_instance.h:35
Definition: visual_instance.h:39