UnityEngine.TerrainData.GetHeights C# (CSharp) Method

GetHeights() private method

private GetHeights ( int xBase, int yBase, int width, int height ) : ].float[
xBase int
yBase int
width int
height int
return ].float[
        public extern float[,] GetHeights(int xBase, int yBase, int width, int height);
        /// <summary>

Usage Example

コード例 #1
0
ファイル: plane.cs プロジェクト: andywatts/UnityGod
 void Start()
 {
     tData = myTerrain.terrainData;
     xResolution = tData.heightmapWidth;
     zResolution = tData.heightmapHeight;
     heights = tData.GetHeights(0, 0, xResolution, zResolution);
 }
All Usage Examples Of UnityEngine.TerrainData::GetHeights