| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsCorePrerequisites.h"
- #include "BsResource.h"
- namespace BansheeEngine
- {
- /** @addtogroup Animation
- * @{
- */
- class BS_CORE_EXPORT AnimationClip : public Resource
- {
- public:
- virtual ~AnimationClip() { }
- static HAnimationClip create();
- public: // ***** INTERNAL ******
- /** @name Internal
- * @{
- */
- /** Creates a new AnimationClip without initializing it. Use create() for normal use. */
- static SPtr<AnimationClip> _createPtr();
- /** @} */
- protected:
- AnimationClip();
- /************************************************************************/
- /* SERIALIZATION */
- /************************************************************************/
- public:
- friend class AnimationClipRTTI;
- static RTTITypeBase* getRTTIStatic();
- RTTITypeBase* getRTTI() const override;
- /**
- * Creates an AnimationClip with no data. You must populate its data manually followed by a call to initialize().
- *
- * @note For serialization use only.
- */
- static SPtr<AnimationClip> createEmpty();
- };
- /** @} */
- }
|