Flatten() 공개 정적인 메소드

public static Flatten ( TerrainData terrain, float height ) : void
terrain UnityEngine.TerrainData
height float
리턴 void
예제 #1
0
 void OnWizardCreate()
 {
     Undo.RegisterCompleteObjectUndo(terrainData, "Flatten Heightmap");
     HeightmapFilters.Flatten(terrainData, height / terrainData.size.y);
 }
예제 #2
0
 private void OnWizardCreate()
 {
     Undo.RegisterCompleteObjectUndo(base.terrainData, "Flatten Heightmap");
     HeightmapFilters.Flatten(base.terrainData, this.height / base.terrainData.size.y);
 }