| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="OpenXRSpatialComponentMesh2DList" inherits="OpenXRSpatialComponentData" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | Object for storing the queries mesh2d result data. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Object for storing the queries 2D mesh result data when calling [method OpenXRSpatialEntityExtension.query_snapshot]. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="get_indices" qualifiers="const"> |
| 13 | <return type="PackedInt32Array" /> |
| 14 | <param index="0" name="snapshot" type="RID" /> |
| 15 | <param index="1" name="index" type="int" /> |
| 16 | <description> |
| 17 | Returns the mesh indices for the entity at this [param index]. |
| 18 | </description> |
| 19 | </method> |
| 20 | <method name="get_transform" qualifiers="const"> |
| 21 | <return type="Transform3D" /> |
| 22 | <param index="0" name="index" type="int" /> |
| 23 | <description> |
| 24 | Returns the transform for positioning our mesh for the entity at this [param index]. |
| 25 | </description> |
| 26 | </method> |
| 27 | <method name="get_vertices" qualifiers="const"> |
| 28 | <return type="PackedVector2Array" /> |
| 29 | <param index="0" name="snapshot" type="RID" /> |
| 30 | <param index="1" name="index" type="int" /> |
| 31 | <description> |
| 32 | Returns the mesh vertices for the entity at this [param index]. |
| 33 | </description> |
| 34 | </method> |
| 35 | </methods> |
| 36 | </class> |