BsScriptGUITimeline.generated.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //************** Copyright (c) 2016-2019 Marko Pintera ([email protected]). All rights reserved. *******************//
  3. #pragma once
  4. #include "BsScriptEditorPrerequisites.h"
  5. #include "Wrappers/GUI/BsScriptGUIElement.h"
  6. #include "Math/BsVector2I.h"
  7. namespace bs
  8. {
  9. class GUITimeline;
  10. class BS_SCR_BED_EXPORT ScriptGUITimeline : public TScriptGUIElement<ScriptGUITimeline>
  11. {
  12. public:
  13. SCRIPT_OBJ(EDITOR_ASSEMBLY, EDITOR_NS, "GUITimeline")
  14. ScriptGUITimeline(MonoObject* managedInstance, GUITimeline* value);
  15. private:
  16. static void Internal_setRange(ScriptGUIElementBaseTBase* thisPtr, float range);
  17. static float Internal_getRange(ScriptGUIElementBaseTBase* thisPtr);
  18. static void Internal_setOffset(ScriptGUIElementBaseTBase* thisPtr, float offset);
  19. static float Internal_getOffset(ScriptGUIElementBaseTBase* thisPtr);
  20. static void Internal_setFPS(ScriptGUIElementBaseTBase* thisPtr, uint32_t FPS);
  21. static uint32_t Internal_getFPS(ScriptGUIElementBaseTBase* thisPtr);
  22. static void Internal_setMarkedFrame(ScriptGUIElementBaseTBase* thisPtr, uint32_t index);
  23. static uint32_t Internal_setMarkedFrame0(ScriptGUIElementBaseTBase* thisPtr);
  24. static uint32_t Internal_getFrame(ScriptGUIElementBaseTBase* thisPtr, Vector2I* pixelCoords);
  25. static float Internal_getTime(ScriptGUIElementBaseTBase* thisPtr, int32_t pixel);
  26. static int32_t Internal_getOffset0(ScriptGUIElementBaseTBase* thisPtr, float time);
  27. static float Internal_getTimeForFrame(ScriptGUIElementBaseTBase* thisPtr, int32_t index);
  28. static void Internal_setPadding(ScriptGUIElementBaseTBase* thisPtr, uint32_t padding);
  29. static uint32_t Internal_getPadding(ScriptGUIElementBaseTBase* thisPtr);
  30. };
  31. }