BsScriptGUITimeline.generated.cpp 5.2 KB

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