mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
26 lines
1.3 KiB
XML
26 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="OpenXRCompositionLayerCylinder" inherits="OpenXRCompositionLayer" experimental="" 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 cylinder.
|
|
</brief_description>
|
|
<description>
|
|
An OpenXR composition layer that allows rendering a [SubViewport] on an internal slice of a cylinder.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="aspect_ratio" type="float" setter="set_aspect_ratio" getter="get_aspect_ratio" default="1.0">
|
|
The aspect ratio of the slice. Used to set the height relative to the width.
|
|
</member>
|
|
<member name="central_angle" type="float" setter="set_central_angle" getter="get_central_angle" default="1.5708">
|
|
The central angle of the cylinder. 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="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
|
|
The radius of the cylinder.
|
|
</member>
|
|
</members>
|
|
</class>
|