1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
5 #include <CryMath/Cry_Math.h>
7 #include "Shared/AnimSettings.h"
8 #include "BlendSpace.h"
10 struct IDefaultSkeleton
;
13 namespace CharacterTool
{
15 struct AnimationContent
31 WAITING_FOR_CHRPARAMS_RELOAD
,
33 COMPILED_BUT_NO_ANIMSETTINGS
38 EImportState importState
;
41 bool loadedAsAdditive
;
42 bool delayApplyUntilStart
;
44 SAnimSettings settings
;
45 BlendSpace blendSpace
;
46 CombinedBlendSpace combinedBlendSpace
;
47 string newAnimationSkeleton
;
48 std::vector
<AnimEvent
> events
;
52 void ApplyToCharacter(bool* triggerPreview
, ICharacterInstance
* characterInstance
, const char* animationPath
, bool animationStarting
);
53 void ApplyAfterStart(ICharacterInstance
* characterInstance
, const char* animationPath
);
54 void UpdateBlendSpaceMotionParameters(IAnimationSet
* animationSet
, IDefaultSkeleton
* defaultSkeleton
);
57 void Serialize(Serialization::IArchive
& ar
);
59 bool HasAudioEvents() const;