Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TerrainCollider

A heightmap based collider.
Read time 6 minutesLast updated 2 days ago

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainPhysicsModule
  • Inherits from: Collider
public class TerrainCollider : Collider

Remarks

Properties

Property

Description

terrainDataThe terrain that stores the heightmap.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.