3
0

SelectTrack.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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_SELECTTRACK_H
  9. #define CRYINCLUDE_CRYMOVIE_SELECTTRACK_H
  10. #pragma once
  11. #include "IMovieSystem.h"
  12. #include "AnimTrack.h"
  13. //////////////////////////////////////////////////////////////////////////
  14. //////////////////////////////////////////////////////////////////////////
  15. /** Select track. Used to select Cameras on a Director's Camera Track
  16. */
  17. class CSelectTrack
  18. : public TAnimTrack<ISelectKey>
  19. {
  20. public:
  21. AZ_CLASS_ALLOCATOR(CSelectTrack, AZ::SystemAllocator);
  22. AZ_RTTI(CSelectTrack, "{D05D53BF-86D1-4D38-A3C6-4EFC09C16431}", IAnimTrack);
  23. AnimValueType GetValueType();
  24. void GetKeyInfo(int key, const char*& description, float& duration);
  25. void SerializeKey(ISelectKey& key, XmlNodeRef& keyNode, bool bLoading);
  26. static void Reflect(AZ::ReflectContext* context);
  27. };
  28. #endif // CRYINCLUDE_CRYMOVIE_SELECTTRACK_H