0.2.0-dev Download ZIP
28 lines ·1.1 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="OpenXRSpatialComponentPolygon2DList" inherits="OpenXRSpatialComponentData" api_type="core" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | Object for storing the queries polygon2d result data. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Object for storing the queries 2D polygon result data when calling [method OpenXRSpatialEntityExtension.query_snapshot]. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="get_transform" qualifiers="const"> |
| 13 | <return type="Transform3D" /> |
| 14 | <param index="0" name="index" type="int" /> |
| 15 | <description> |
| 16 | Returns the transform for positioning our polygon for the entity at this [param index]. |
| 17 | </description> |
| 18 | </method> |
| 19 | <method name="get_vertices" qualifiers="const"> |
| 20 | <return type="PackedVector2Array" /> |
| 21 | <param index="0" name="snapshot" type="RID" /> |
| 22 | <param index="1" name="index" type="int" /> |
| 23 | <description> |
| 24 | Returns the polygon vertices for the entity at this [param index]. |
| 25 | </description> |
| 26 | </method> |
| 27 | </methods> |
| 28 | </class> |