BsScriptGUITimeline.generated.cpp 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //************** Copyright (c) 2016-2019 Marko Pintera ([email protected]). All rights reserved. *******************//
  3. #include "BsScriptGUITimeline.generated.h"
  4. #include "BsMonoMethod.h"
  5. #include "BsMonoClass.h"
  6. #include "BsMonoUtil.h"
  7. #include "../../EditorCore/GUI/BsGUITimeline.h"
  8. #include "Wrappers/BsScriptVector2I.h"
  9. namespace bs
  10. {
  11. ScriptGUITimeline::ScriptGUITimeline(MonoObject* managedInstance, GUITimeline* value)
  12. :TScriptGUIElement(managedInstance, value)
  13. {
  14. }
  15. void ScriptGUITimeline::initRuntimeData()
  16. {
  17. metaData.scriptClass->addInternalCall("Internal_setRange", (void*)&ScriptGUITimeline::Internal_setRange);
  18. metaData.scriptClass->addInternalCall("Internal_getRange", (void*)&ScriptGUITimeline::Internal_getRange);
  19. metaData.scriptClass->addInternalCall("Internal_setOffset", (void*)&ScriptGUITimeline::Internal_setOffset);
  20. metaData.scriptClass->addInternalCall("Internal_getOffset", (void*)&ScriptGUITimeline::Internal_getOffset);
  21. metaData.scriptClass->addInternalCall("Internal_setFPS", (void*)&ScriptGUITimeline::Internal_setFPS);
  22. metaData.scriptClass->addInternalCall("Internal_getFPS", (void*)&ScriptGUITimeline::Internal_getFPS);
  23. metaData.scriptClass->addInternalCall("Internal_setMarkedFrame", (void*)&ScriptGUITimeline::Internal_setMarkedFrame);
  24. metaData.scriptClass->addInternalCall("Internal_setMarkedFrame0", (void*)&ScriptGUITimeline::Internal_setMarkedFrame0);
  25. metaData.scriptClass->addInternalCall("Internal_getFrame", (void*)&ScriptGUITimeline::Internal_getFrame);
  26. metaData.scriptClass->addInternalCall("Internal_getTime", (void*)&ScriptGUITimeline::Internal_getTime);
  27. metaData.scriptClass->addInternalCall("Internal_getOffset0", (void*)&ScriptGUITimeline::Internal_getOffset0);
  28. metaData.scriptClass->addInternalCall("Internal_getTimeForFrame", (void*)&ScriptGUITimeline::Internal_getTimeForFrame);
  29. metaData.scriptClass->addInternalCall("Internal_setPadding", (void*)&ScriptGUITimeline::Internal_setPadding);
  30. metaData.scriptClass->addInternalCall("Internal_getPadding", (void*)&ScriptGUITimeline::Internal_getPadding);
  31. }
  32. void ScriptGUITimeline::Internal_setRange(ScriptGUIElementBaseTBase* thisPtr, float range)
  33. {
  34. static_cast<GUITimeline*>(thisPtr->getGUIElement())->setRange(range);
  35. }
  36. float ScriptGUITimeline::Internal_getRange(ScriptGUIElementBaseTBase* thisPtr)
  37. {
  38. float tmp__output;
  39. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getRange();
  40. float __output;
  41. __output = tmp__output;
  42. return __output;
  43. }
  44. void ScriptGUITimeline::Internal_setOffset(ScriptGUIElementBaseTBase* thisPtr, float offset)
  45. {
  46. static_cast<GUITimeline*>(thisPtr->getGUIElement())->setOffset(offset);
  47. }
  48. float ScriptGUITimeline::Internal_getOffset(ScriptGUIElementBaseTBase* thisPtr)
  49. {
  50. float tmp__output;
  51. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getOffset();
  52. float __output;
  53. __output = tmp__output;
  54. return __output;
  55. }
  56. void ScriptGUITimeline::Internal_setFPS(ScriptGUIElementBaseTBase* thisPtr, uint32_t FPS)
  57. {
  58. static_cast<GUITimeline*>(thisPtr->getGUIElement())->setFPS(FPS);
  59. }
  60. uint32_t ScriptGUITimeline::Internal_getFPS(ScriptGUIElementBaseTBase* thisPtr)
  61. {
  62. uint32_t tmp__output;
  63. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getFPS();
  64. uint32_t __output;
  65. __output = tmp__output;
  66. return __output;
  67. }
  68. void ScriptGUITimeline::Internal_setMarkedFrame(ScriptGUIElementBaseTBase* thisPtr, uint32_t index)
  69. {
  70. static_cast<GUITimeline*>(thisPtr->getGUIElement())->setMarkedFrame(index);
  71. }
  72. uint32_t ScriptGUITimeline::Internal_setMarkedFrame0(ScriptGUIElementBaseTBase* thisPtr)
  73. {
  74. uint32_t tmp__output;
  75. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->setMarkedFrame();
  76. uint32_t __output;
  77. __output = tmp__output;
  78. return __output;
  79. }
  80. uint32_t ScriptGUITimeline::Internal_getFrame(ScriptGUIElementBaseTBase* thisPtr, Vector2I* pixelCoords)
  81. {
  82. uint32_t tmp__output;
  83. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getFrame(*pixelCoords);
  84. uint32_t __output;
  85. __output = tmp__output;
  86. return __output;
  87. }
  88. float ScriptGUITimeline::Internal_getTime(ScriptGUIElementBaseTBase* thisPtr, int32_t pixel)
  89. {
  90. float tmp__output;
  91. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getTime(pixel);
  92. float __output;
  93. __output = tmp__output;
  94. return __output;
  95. }
  96. int32_t ScriptGUITimeline::Internal_getOffset0(ScriptGUIElementBaseTBase* thisPtr, float time)
  97. {
  98. int32_t tmp__output;
  99. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getOffset(time);
  100. int32_t __output;
  101. __output = tmp__output;
  102. return __output;
  103. }
  104. float ScriptGUITimeline::Internal_getTimeForFrame(ScriptGUIElementBaseTBase* thisPtr, int32_t index)
  105. {
  106. float tmp__output;
  107. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getTimeForFrame(index);
  108. float __output;
  109. __output = tmp__output;
  110. return __output;
  111. }
  112. void ScriptGUITimeline::Internal_setPadding(ScriptGUIElementBaseTBase* thisPtr, uint32_t padding)
  113. {
  114. static_cast<GUITimeline*>(thisPtr->getGUIElement())->setPadding(padding);
  115. }
  116. uint32_t ScriptGUITimeline::Internal_getPadding(ScriptGUIElementBaseTBase* thisPtr)
  117. {
  118. uint32_t tmp__output;
  119. tmp__output = static_cast<GUITimeline*>(thisPtr->getGUIElement())->getPadding();
  120. uint32_t __output;
  121. __output = tmp__output;
  122. return __output;
  123. }
  124. }