Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


activeTerrains

The active terrains in the Scene.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public static Terrain[] activeTerrains { get; }

Remarks

This returns all the active terrains in the scene. A terrain is active when the component that represents it is enabled and the GameObject it is on is active.