文档

Unity Engine

Unity Engine

GetTerrainGIChunks(Terrain, ref int, ref int)

Get how many chunks the terrain is divided into for GI baking.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetTerrainGIChunks(Terrain, int, int)

public static void GetTerrainGIChunks(Terrain terrain, ref int numChunksX, ref int numChunksY)

Parameters

terrain

The terrain.

numChunksX

Number of chunks in terrain width.

numChunksY

Number of chunks in terrain length.