Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsHole(int, int)

Gets whether a certain point at x,y is a hole.
Read time 1 minuteLast updated 6 hours ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public bool IsHole(int x, int y)

Parameters

The x index of the point to query.

The y index of the point to query.

Returns

Type

Description

boolTrue if the point at the given index is a hole. Otherwise, false.