OpenXRSpatialComponentData.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="OpenXRSpatialComponentData" inherits="RefCounted" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. Object for storing OpenXR spatial entity component data.
  5. </brief_description>
  6. <description>
  7. Object for storing OpenXR spatial entity component data.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="_get_component_type" qualifiers="virtual const">
  13. <return type="int" />
  14. <description>
  15. Return the component type for the component we store data for.
  16. </description>
  17. </method>
  18. <method name="_get_structure_data" qualifiers="virtual const">
  19. <return type="int" />
  20. <param index="0" name="next" type="int" />
  21. <description>
  22. Return a pointer to the structure data that will be submitted along with the snapshot query. This pointer must remain valid as long as this object is instantiated.
  23. </description>
  24. </method>
  25. <method name="_set_capacity" qualifiers="virtual">
  26. <return type="void" />
  27. <param index="0" name="capacity" type="int" />
  28. <description>
  29. Set the expected capacity as provided by the spatial entities query system. Buffers should be initialized with the correct storage.
  30. </description>
  31. </method>
  32. <method name="set_capacity">
  33. <return type="void" />
  34. <param index="0" name="capacity" type="int" />
  35. <description>
  36. Set the expected capacity as provided by the spatial entities query system. Buffers should be initialized with the correct storage.
  37. </description>
  38. </method>
  39. </methods>
  40. </class>