Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

DetailInstanceTransform.posY

public float posY;

Description

The Y coordinate of the detail object in the Terrain's local space. To get the Y in world space, add this value to position Y of the Terrain.

Note that the Y coordinate is already displaced by the Terrain heightmap.