| 1234567891011121314151617181920212223242526272829 |
- #pragma once
- #include "BsScriptEnginePrerequisites.h"
- #include "BsScriptObject.h"
- #include "../../../bsf/Source/Foundation/bsfCore/Animation/BsAnimationClip.h"
- namespace bs
- {
- struct __AnimationEventInterop
- {
- MonoString* name;
- float time;
- };
- class BS_SCR_BE_EXPORT ScriptAnimationEvent : public ScriptObject<ScriptAnimationEvent>
- {
- public:
- SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "AnimationEvent")
- static MonoObject* box(const __AnimationEventInterop& value);
- static __AnimationEventInterop unbox(MonoObject* value);
- static AnimationEvent fromInterop(const __AnimationEventInterop& value);
- static __AnimationEventInterop toInterop(const AnimationEvent& value);
- private:
- ScriptAnimationEvent(MonoObject* managedInstance);
- };
- }
|