TerrainData.GetSupportedLayers

Cambiar al Manual
public int[] GetSupportedLayers (int xBase, int yBase, int totalWidth, int totalHeight);

Descripción

Returns an array of all supported detail layer indices in the area.

The Terrain uses a detail layer density map. Each pixel in the map determines the amount of details objects that will be procedurally placed in the pixel area. The layer determines the detail prototype that will be instantiated at the location.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961