ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


TerrainMap

Type for mapping 2D (X,Z) tile coordinates to a Terrain object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public class TerrainMap

Properties

Property

Description

terrainTilesMapping from TileCoord 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.