Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OpenXRFoveatedInsetViewport
Inherits: SubViewport < Viewport < Node < Object
This viewport is used for rendering our foveated inset.
Description
This viewport is used for rendering our foveated inset. When foveated inset rendering is supported OpenXR will create and configure this viewport correctly and use its output. The viewport will be available after OpenXR reaches the "begun" state. You can access it by calling get_tree().get_root().get_node("OpenXRFoveatedInsetViewport") at this time.
Properties
process_priority |
|
|
render_target_update_mode |
|
Methods
get_xr_camera3d() const |
|
get_xr_origin3d() const |
Method Descriptions
XRCamera3D get_xr_camera3d() const 🔗
Returns the XRCamera3D node used for rendering the foveated inset.
XROrigin3D get_xr_origin3d() const 🔗
Returns the XROrigin3D node used for tracking the foveated inset. Our built-in logic handles positioning this node. It will copy the position and orientation of the XROrigin3D node marked as current.