summaryrefslogtreecommitdiff
path: root/scene/3d/baked_lightmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/baked_lightmap.h')
-rw-r--r--scene/3d/baked_lightmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/3d/baked_lightmap.h b/scene/3d/baked_lightmap.h
index bb3f84719a..fac4ad3908 100644
--- a/scene/3d/baked_lightmap.h
+++ b/scene/3d/baked_lightmap.h
@@ -119,6 +119,7 @@ private:
float bake_cell_size;
float capture_cell_size;
Vector3 extents;
+ float bake_default_texels_per_unit;
float propagation;
float energy;
BakeQuality bake_quality;
@@ -178,6 +179,9 @@ public:
void set_extents(const Vector3 &p_extents);
Vector3 get_extents() const;
+ void set_bake_default_texels_per_unit(const float &p_extents);
+ float get_bake_default_texels_per_unit() const;
+
void set_propagation(float p_propagation);
float get_propagation() const;