void ShowHeightmaps()
{
LandmassEditorUtilities editorUtilities = LandmassEditorUtilities.Instance;
ImporterConfiguration importCfg = editorUtilities.ImportCfg;
EGL.BeginVertical();
{
GUILayout.Label("The settings for processing heightmaps.");
EGL.Separator();
EGL.BeginVertical(GuiUtils.Skin.box);
{
GUILayout.Label("Postfix for heightmap files.");
importCfg.HeightmapTag = EGL.TextField("Name postfix", importCfg.HeightmapTag);
}
EGL.EndVertical();
EGL.Separator();
EGL.BeginVertical(GuiUtils.Skin.box);
{
GUILayout.Label("Heightmap file specifications. Please use raw file\nwith x^2+1 dimensions.");
importCfg.HeightmapExtention = EGL.TextField("File extention", importCfg.HeightmapExtention);
importCfg.HeightmapFlipX = EGL.Toggle("Mirror X", importCfg.HeightmapFlipX);
importCfg.HeightmapFlipY = EGL.Toggle("Mirror Y", importCfg.HeightmapFlipY);
importCfg.HeightFormat = (HeightfileFormat)EditorGUILayout.EnumPopup("Byte Format", importCfg.HeightFormat);
}
EGL.EndVertical();
}
EGL.EndVertical();
}