ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


GetTerrainAlphaMapChecked(Terrain, int)

Returns the alphamap texture at mapIndex.
読み終わるまでの所要時間 1 分最終更新 24日前

Definition

public static Texture2D GetTerrainAlphaMapChecked(Terrain terrain, int mapIndex)

Parameters

terrain

Terrain tile.

mapIndex

Index to retrieve.

Returns

Type

Description

Texture2DAlphamap texture at mapIndex.

Remarks

This function will throw an exception if the map index is out of range.