HeightMapShape¶
Inherits: Shape < Resource < Reference < Object
Height map shape for 3D physics.
Descripción¶
Height map shape resource, which can be added to a PhysicsBody or Area.
Propiedades¶
|
||
|
||
|
Descripciones de Propiedades¶
PoolRealArray map_data
Default |
|
Setter |
set_map_data(value) |
Getter |
get_map_data() |
El tamaño de los datos del mapa de altura , debe ser de tamaño map_width * map_depth .
int map_depth
Default |
|
Setter |
set_map_depth(value) |
Getter |
get_map_depth() |
Los datos del mapa de la altura. Si se cambia esto, se redimensionará el map_data.
int map_width
Default |
|
Setter |
set_map_width(value) |
Getter |
get_map_width() |
Ancho de los datos del mapa de altura. Si se cambia esto, se redimensionará el map_data.