Merge pull request #90778 from timothyqiu/cam-preview

Add Camera3D preview in Inspector
This commit is contained in:
Thaddeus Crews
2024-11-27 10:46:59 -06:00
6 changed files with 79 additions and 40 deletions

View File

@@ -880,6 +880,8 @@ protected:
public:
static Node3DEditor *get_singleton() { return singleton; }
static Size2i get_camera_viewport_size(Camera3D *p_camera);
Vector3 snap_point(Vector3 p_target, Vector3 p_start = Vector3(0, 0, 0)) const;
float get_znear() const { return settings_znear->get_value(); }