BsScriptCAnimation.generated.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #pragma once
  2. #include "BsScriptEnginePrerequisites.h"
  3. #include "Wrappers/BsScriptComponent.h"
  4. #include "../../../bsf/Source/Foundation/bsfCore/Animation/BsAnimation.h"
  5. namespace bs
  6. {
  7. class CAnimation;
  8. class AnimationClip;
  9. struct __Blend1DInfoInterop;
  10. struct __Blend2DInfoInterop;
  11. class BS_SCR_BE_EXPORT ScriptCAnimation : public TScriptComponent<ScriptCAnimation, CAnimation>
  12. {
  13. public:
  14. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "Animation")
  15. ScriptCAnimation(MonoObject* managedInstance, const GameObjectHandle<CAnimation>& value);
  16. private:
  17. void _scriptRebuildFloatProperties(const ResourceHandle<AnimationClip>& p0);
  18. void _scriptUpdateFloatProperties();
  19. void _scriptOnEventTriggered(const ResourceHandle<AnimationClip>& p0, const String& p1);
  20. typedef void(BS_THUNKCALL *_scriptRebuildFloatPropertiesThunkDef) (MonoObject*, MonoObject* p0, MonoException**);
  21. static _scriptRebuildFloatPropertiesThunkDef _scriptRebuildFloatPropertiesThunk;
  22. typedef void(BS_THUNKCALL *_scriptUpdateFloatPropertiesThunkDef) (MonoObject*, MonoException**);
  23. static _scriptUpdateFloatPropertiesThunkDef _scriptUpdateFloatPropertiesThunk;
  24. typedef void(BS_THUNKCALL *_scriptOnEventTriggeredThunkDef) (MonoObject*, MonoObject* p0, MonoString* p1, MonoException**);
  25. static _scriptOnEventTriggeredThunkDef _scriptOnEventTriggeredThunk;
  26. static void Internal_setDefaultClip(ScriptCAnimation* thisPtr, MonoObject* clip);
  27. static MonoObject* Internal_getDefaultClip(ScriptCAnimation* thisPtr);
  28. static void Internal_setWrapMode(ScriptCAnimation* thisPtr, AnimWrapMode wrapMode);
  29. static AnimWrapMode Internal_getWrapMode(ScriptCAnimation* thisPtr);
  30. static void Internal_setSpeed(ScriptCAnimation* thisPtr, float speed);
  31. static float Internal_getSpeed(ScriptCAnimation* thisPtr);
  32. static void Internal_play(ScriptCAnimation* thisPtr, MonoObject* clip);
  33. static void Internal_blendAdditive(ScriptCAnimation* thisPtr, MonoObject* clip, float weight, float fadeLength, uint32_t layer);
  34. static void Internal_blend1D(ScriptCAnimation* thisPtr, __Blend1DInfoInterop* info, float t);
  35. static void Internal_blend2D(ScriptCAnimation* thisPtr, __Blend2DInfoInterop* info, Vector2* t);
  36. static void Internal_crossFade(ScriptCAnimation* thisPtr, MonoObject* clip, float fadeLength);
  37. static void Internal_sample(ScriptCAnimation* thisPtr, MonoObject* clip, float time);
  38. static void Internal_stop(ScriptCAnimation* thisPtr, uint32_t layer);
  39. static void Internal_stopAll(ScriptCAnimation* thisPtr);
  40. static bool Internal_isPlaying(ScriptCAnimation* thisPtr);
  41. static bool Internal_getState(ScriptCAnimation* thisPtr, MonoObject* clip, AnimationClipState* state);
  42. static void Internal_setState(ScriptCAnimation* thisPtr, MonoObject* clip, AnimationClipState* state);
  43. static void Internal_setMorphChannelWeight(ScriptCAnimation* thisPtr, MonoString* name, float weight);
  44. static void Internal_setBounds(ScriptCAnimation* thisPtr, AABox* bounds);
  45. static void Internal_getBounds(ScriptCAnimation* thisPtr, AABox* __output);
  46. static void Internal_setUseBounds(ScriptCAnimation* thisPtr, bool enable);
  47. static bool Internal_getUseBounds(ScriptCAnimation* thisPtr);
  48. static void Internal_setEnableCull(ScriptCAnimation* thisPtr, bool enable);
  49. static bool Internal_getEnableCull(ScriptCAnimation* thisPtr);
  50. static uint32_t Internal_getNumClips(ScriptCAnimation* thisPtr);
  51. static MonoObject* Internal_getClip(ScriptCAnimation* thisPtr, uint32_t idx);
  52. static void Internal__refreshClipMappings(ScriptCAnimation* thisPtr);
  53. static bool Internal__getGenericCurveValue(ScriptCAnimation* thisPtr, uint32_t curveIdx, float* value);
  54. static bool Internal__togglePreviewMode(ScriptCAnimation* thisPtr, bool enabled);
  55. };
  56. }