GUISceneTreeView.cs 856 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using BansheeEngine;
  4. namespace BansheeEditor
  5. {
  6. public sealed class GUISceneTreeView : GUIElement
  7. {
  8. public GUISceneTreeView(string style = "", params GUIOption[] options)
  9. {
  10. Internal_CreateInstance(this, style, options);
  11. }
  12. public GUISceneTreeView(params GUIOption[] options)
  13. {
  14. Internal_CreateInstance(this, "", options);
  15. }
  16. public void Update()
  17. {
  18. Internal_Update(mCachedPtr);
  19. }
  20. [MethodImpl(MethodImplOptions.InternalCall)]
  21. private static extern void Internal_CreateInstance(GUISceneTreeView instance, string style, GUIOption[] options);
  22. [MethodImpl(MethodImplOptions.InternalCall)]
  23. private static extern void Internal_Update(IntPtr thisPtr);
  24. }
  25. }