文档

Unity Engine

Unity Engine

heightWorldSpaceSize

The height range (from Min to Max) of all Terrain tiles that this PaintContext touches in world space.
阅读时间1 分钟最后更新于 1 个月前

Definition

public float heightWorldSpaceSize { get; }

Remarks

Unity uses this value to transform a height value from a world space Y-coordinate to a value in the [0, 1] range.