Atoms Crowd  7.0.0
AtomsClipLoader.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <AtomsCore/Globals.h>
11 
12 #include <Atoms/AnimationClip.h>
13 #include <Atoms/Loaders/BaseAnimLoader.h>
14 
15 namespace Atoms
16 {
17  class ATOMS_EXPORT AtomsClipLoader : public BaseAnimLoader
18  {
19  public:
21 
24  std::string typeStr() const;
25 
27  static std::string const staticTypeStr;
28 
30 
33  unsigned int typeId() const;
34 
36  static const unsigned int staticTypeId;
37 
40 
43 
45 
49  static AtomsPtr<BaseAnimLoader> creator();
50 
52 
55  Atoms::AnimationClip load(const std::string &filePath, const std::string& filter = "*");
56  };
57 }
Animation clip.
Definition: AnimationClip.h:221
Definition: AtomsClipLoader.h:18
static AtomsPtr< BaseAnimLoader > creator()
Creator function.
AtomsClipLoader()
Constructor.
unsigned int typeId() const
Type id.
std::string typeStr() const
Type string.
~AtomsClipLoader()
Destructor.
Atoms::AnimationClip load(const std::string &filePath, const std::string &filter="*")
load
static const unsigned int staticTypeId
Class static type id.
Definition: AtomsClipLoader.h:36
static std::string const staticTypeStr
Class static type string.
Definition: AtomsClipLoader.h:27
BaseAnimLoader class.
Definition: BaseAnimLoader.h:23
Atoms namespace.
Definition: Agent.h:29