BsScriptGUICurves.generated.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. #include "BsScriptEditorPrerequisites.h"
  3. #include "Wrappers/GUI/BsScriptGUIElement.h"
  4. #include "BsScriptGUITimeline.generated.h"
  5. #include "../../../EditorCore/GUI/BsGUICurves.h"
  6. #include "../../../bsf/Source/Foundation/bsfCore/Animation/BsAnimationUtility.h"
  7. namespace bs
  8. {
  9. class GUICurves;
  10. struct __CurveDrawInfoInterop;
  11. struct __TangentRefInterop;
  12. class BS_SCR_BED_EXPORT ScriptGUICurves : public TScriptGUIElement<ScriptGUICurves>
  13. {
  14. public:
  15. SCRIPT_OBJ(EDITOR_ASSEMBLY, "BansheeEditor", "GUICurves")
  16. ScriptGUICurves(MonoObject* managedInstance, GUICurves* value);
  17. private:
  18. void onClicked();
  19. typedef void(BS_THUNKCALL *onClickedThunkDef) (MonoObject*, MonoException**);
  20. static onClickedThunkDef onClickedThunk;
  21. static void Internal_setCurves(ScriptGUICurves* thisPtr, MonoArray* curves);
  22. static MonoArray* Internal_getCurves(ScriptGUICurves* thisPtr);
  23. static void Internal_setRange(ScriptGUICurves* thisPtr, float xRange, float yRange);
  24. static void Internal_setOffset(ScriptGUICurves* thisPtr, Vector2* offset);
  25. static void Internal_centerAndZoom(ScriptGUICurves* thisPtr);
  26. static bool Internal_pixelToCurveSpace(ScriptGUICurves* thisPtr, Vector2I* pixelCoords, Vector2* curveCoords, bool padding);
  27. static void Internal_curveToPixelSpace(ScriptGUICurves* thisPtr, Vector2* curveCoords, Vector2I* __output);
  28. static uint32_t Internal_findCurve(ScriptGUICurves* thisPtr, Vector2I* pixelCoords);
  29. static bool Internal_findKeyFrame(ScriptGUICurves* thisPtr, Vector2I* pixelCoords, KeyframeRef* keyframe);
  30. static bool Internal_findTangent(ScriptGUICurves* thisPtr, Vector2I* pixelCoords, __TangentRefInterop* tangent);
  31. static void Internal_selectKeyframe(ScriptGUICurves* thisPtr, KeyframeRef* keyframeRef, TangentModeBits tangentMode, bool selected);
  32. static void Internal_clearSelectedKeyframes(ScriptGUICurves* thisPtr);
  33. static void Internal_create(MonoObject* managedInstance, MonoString* styleName);
  34. static void Internal_create0(MonoObject* managedInstance, CurveDrawOption drawOptions, MonoString* styleName);
  35. };
  36. }