Skip to content

ImportHeightmapPanel

Graydon edited this page Mar 21, 2017 · 8 revisions

public class ImportHeightmapPanel

Base Class: HeightmapPanel

Fields

public float m_SafeMargin
public float m_ShowHideTime
public EasingType m_ShowEasingType
public EasingType m_HideEasingType
private bool m_Rescaled
private byte[] m_LastHeightmap8
private byte[] m_LastHeightmap16
public float m_RotationSpeed
private UILabel m_LoadingLabel
private UIListBox m_FileList
private UIButton m_ApplyButton
private UITextureSprite m_PreviewSprite
private UILabel m_ErrorLabel
private UILabel m_InfoLabel
private Transform m_LoadingProgress
private FileSystemReporter[] m_FileSystemReporter
private static string[] m_Extensions

Constructors

static ImportHeightmapPanel()

Methods

public void OpenFolder()
private void OnDestroy()
private void OnVisibilityChanged(UIComponent comp, bool visible)
private void OnFileListVisibilityChanged(UIComponent comp, bool visible)
private void Refresh(object sender, ReporterEventArgs e)
private void Awake()
private void Start()
public void Show()
public void Hide()
private void Refresh()
private void AssignPreview(Image image)
private void LoadImageThreaded(string path, uint flags)
private void ShowError(string path)
public void LoadSelected()
public void OnHeightmapSelectionChanged(UIComponent comp, int index)
private void Update()
public void OnApply()
private IEnumerator LoadHeightMap8(byte[] heightmap, int scale)
private IEnumerator LoadHeightMap16(byte[] heightmap)

Clone this wiki locally