OpenXRCompositionLayerEquirect.xml 1.6 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="OpenXRCompositionLayerEquirect" inherits="OpenXRCompositionLayer" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. An OpenXR composition layer that is rendered as an internal slice of a sphere.
  5. </brief_description>
  6. <description>
  7. An OpenXR composition layer that allows rendering a [SubViewport] on an internal slice of a sphere.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <members>
  12. <member name="central_horizontal_angle" type="float" setter="set_central_horizontal_angle" getter="get_central_horizontal_angle" default="1.5708">
  13. The central horizontal angle of the sphere. Used to set the width.
  14. </member>
  15. <member name="fallback_segments" type="int" setter="set_fallback_segments" getter="get_fallback_segments" default="10">
  16. The number of segments to use in the fallback mesh.
  17. </member>
  18. <member name="lower_vertical_angle" type="float" setter="set_lower_vertical_angle" getter="get_lower_vertical_angle" default="0.785398">
  19. The lower vertical angle of the sphere. Used (together with [member upper_vertical_angle]) to set the height.
  20. </member>
  21. <member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
  22. The radius of the sphere.
  23. </member>
  24. <member name="upper_vertical_angle" type="float" setter="set_upper_vertical_angle" getter="get_upper_vertical_angle" default="0.785398">
  25. The upper vertical angle of the sphere. Used (together with [member lower_vertical_angle]) to set the height.
  26. </member>
  27. </members>
  28. </class>