Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


heightWorldSpaceSize

The height range (from Min to Max) of all Terrain tiles that this PaintContext touches in world space.
Read time 1 minuteLast updated 10 days ago

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.