Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


posX

The X coordinate of the detail object in the Terrain's local space. To get the X in world space, add this value to position X of the Terrain.
Read time 1 minuteLast updated 4 days ago

Definition

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