ドキュメント

Unity Engine

Unity Engine

posY

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public float posY

Remarks

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