Version: 2017.2
public float[,] GetHeights (int xBase, int yBase, int width, int height);

Parameters

xBase Назначает массив образцов карт высот.
yBase Назначает массив образцов карт высот.
width Number of samples to retrieve along the heightmap's x axis.
height Number of samples to retrieve along the heightmap's y axis.

Description

Получает массив образцов карты высот.

Returns a two dimensional array of heightmap samples. The samples are represented as float values ranging from 0 to 1. The array has the dimensions [height,width] and is indexed as [y,x].