Merge pull request #111185 from WhalesState/vp-disable-xr

More XR disable for Viewport and export.
This commit is contained in:
Thaddeus Crews 2025-10-13 19:28:56 -05:00
commit d3285f5468
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
9 changed files with 30 additions and 0 deletions

View file

@ -980,7 +980,10 @@ public:
return VIEWPORT_SCALING_3D_TYPE_NONE;
}
#ifndef XR_DISABLED
virtual void viewport_set_use_xr(RID p_viewport, bool p_use_xr) = 0;
#endif // !XR_DISABLED
virtual void viewport_set_size(RID p_viewport, int p_width, int p_height) = 0;
virtual void viewport_set_active(RID p_viewport, bool p_active) = 0;
virtual void viewport_set_parent_viewport(RID p_viewport, RID p_parent_viewport) = 0;