기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


TerrainMap

Type for mapping 2D (X,Z) tile coordinates to a Terrain object.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public class TerrainMap

Properties

Property

Description

terrainTilesMapping from TerrainTileCoord to Terrain.

Methods

Method

Description

GetTerrainRetrieves the Terrain object corresponding to the tile coordinates (tileX,tileZ).

Static Methods

Method

Description

CreateFromConnectedNeighborsCreates a TerrainMap from the neighbors connected to the origin Terrain.
CreateFromPlacementCreates a TerrainMap from the positions of all active Terrains.