0f2b804059
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
29 lines
1.6 KiB
XML
29 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="OpenXRCompositionLayerEquirect" inherits="OpenXRCompositionLayer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
An OpenXR composition layer that is rendered as an internal slice of a sphere.
|
|
</brief_description>
|
|
<description>
|
|
An OpenXR composition layer that allows rendering a [SubViewport] on an internal slice of a sphere.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="central_horizontal_angle" type="float" setter="set_central_horizontal_angle" getter="get_central_horizontal_angle" default="1.5708">
|
|
The central horizontal angle of the sphere. Used to set the width.
|
|
</member>
|
|
<member name="fallback_segments" type="int" setter="set_fallback_segments" getter="get_fallback_segments" default="10">
|
|
The number of segments to use in the fallback mesh.
|
|
</member>
|
|
<member name="lower_vertical_angle" type="float" setter="set_lower_vertical_angle" getter="get_lower_vertical_angle" default="0.785398">
|
|
The lower vertical angle of the sphere. Used (together with [member upper_vertical_angle]) to set the height.
|
|
</member>
|
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
|
|
The radius of the sphere.
|
|
</member>
|
|
<member name="upper_vertical_angle" type="float" setter="set_upper_vertical_angle" getter="get_upper_vertical_angle" default="0.785398">
|
|
The upper vertical angle of the sphere. Used (together with [member lower_vertical_angle]) to set the height.
|
|
</member>
|
|
</members>
|
|
</class>
|