HeightMapShape.xml 1.1 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="HeightMapShape" inherits="Shape" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Height map shape for 3D physics.
  5. </brief_description>
  6. <description>
  7. Height map shape resource, which can be added to a [PhysicsBody] or [Area].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="map_data" type="PoolRealArray" setter="set_map_data" getter="get_map_data" default="PoolRealArray( 0, 0, 0, 0 )">
  15. Height map data, pool array must be of [member map_width] * [member map_depth] size.
  16. </member>
  17. <member name="map_depth" type="int" setter="set_map_depth" getter="get_map_depth" default="2">
  18. Number of vertices in the depth of the height map. Changing this will resize the [member map_data].
  19. </member>
  20. <member name="map_width" type="int" setter="set_map_width" getter="get_map_width" default="2">
  21. Number of vertices in the width of the height map. Changing this will resize the [member map_data].
  22. </member>
  23. </members>
  24. <constants>
  25. </constants>
  26. </class>