2019-03-17 10:47:19 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-03-16 23:01:02 +01:00
|
|
|
<class name="HeightMapShape" inherits="Shape" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2019-03-17 10:47:19 +01:00
|
|
|
<brief_description>
|
2021-03-19 01:44:26 +01:00
|
|
|
Height map shape for 3D physics.
|
2019-03-17 10:47:19 +01:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-04-25 05:03:48 +02:00
|
|
|
Height map shape resource, which can be added to a [PhysicsBody] or [Area].
|
2019-03-17 10:47:19 +01:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="map_data" type="PoolRealArray" setter="set_map_data" getter="get_map_data" default="PoolRealArray( 0, 0, 0, 0 )">
|
2019-03-17 10:47:19 +01:00
|
|
|
Height map data, pool array must be of [member map_width] * [member map_depth] size.
|
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="map_depth" type="int" setter="set_map_depth" getter="get_map_depth" default="2">
|
2022-03-11 01:03:07 +01:00
|
|
|
Number of vertices in the depth of the height map. Changing this will resize the [member map_data].
|
2019-03-17 10:47:19 +01:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="map_width" type="int" setter="set_map_width" getter="get_map_width" default="2">
|
2022-03-11 01:03:07 +01:00
|
|
|
Number of vertices in the width of the height map. Changing this will resize the [member map_data].
|
2019-03-17 10:47:19 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|