diff options
Diffstat (limited to 'scene/3d/camera.h')
-rw-r--r-- | scene/3d/camera.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/3d/camera.h b/scene/3d/camera.h index 002d23b8fe..a35c9d6e7f 100644 --- a/scene/3d/camera.h +++ b/scene/3d/camera.h @@ -190,6 +190,8 @@ private: float margin; float clip_offset; uint32_t collision_mask; + bool clip_to_areas; + bool clip_to_bodies; Set<RID> exclude; @@ -201,6 +203,12 @@ protected: virtual Transform get_camera_transform() const; public: + void set_clip_to_areas(bool p_clip); + bool is_clip_to_areas_enabled() const; + + void set_clip_to_bodies(bool p_clip); + bool is_clip_to_bodies_enabled() const; + void set_margin(float p_margin); float get_margin() const; |