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

PoolRealArray

map_data

PoolRealArray( 0, 0, 0, 0 )

int

map_depth

2

int

map_width

2

Descripciones de Propiedades

Default

PoolRealArray( 0, 0, 0, 0 )

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

2

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

2

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.