Version: 2021.2

TerrainData.heightmapScale

切换到手册
public Vector3 heightmapScale ;

描述

Returns a Vector3 where the x and z components are the size of each heightmap sample (i.e. the space between two neighboring heightmap samples), and the y component is the entire Terrain's height range in world space.