SequenceTrack.h 846 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #ifndef CRYINCLUDE_CRYMOVIE_SEQUENCETRACK_H
  9. #define CRYINCLUDE_CRYMOVIE_SEQUENCETRACK_H
  10. #pragma once
  11. #include "IMovieSystem.h"
  12. #include "AnimTrack.h"
  13. class CSequenceTrack
  14. : public TAnimTrack<ISequenceKey>
  15. {
  16. public:
  17. AZ_CLASS_ALLOCATOR(CSequenceTrack, AZ::SystemAllocator);
  18. AZ_RTTI(CSequenceTrack, "{5801883A-5289-4FA1-BECE-9EF02C1D62F5}", IAnimTrack);
  19. void GetKeyInfo(int key, const char*& description, float& duration);
  20. void SerializeKey(ISequenceKey& key, XmlNodeRef& keyNode, bool bLoading);
  21. static void Reflect(AZ::ReflectContext* context);
  22. };
  23. #endif // CRYINCLUDE_CRYMOVIE_SEQUENCETRACK_H