3
0

CaptureTrack.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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_CAPTURETRACK_H
  9. #define CRYINCLUDE_CRYMOVIE_CAPTURETRACK_H
  10. #pragma once
  11. #include "IMovieSystem.h"
  12. #include "AnimTrack.h"
  13. //////////////////////////////////////////////////////////////////////////
  14. //////////////////////////////////////////////////////////////////////////
  15. /** A track for capturing a movie from the engine rendering.
  16. */
  17. class CCaptureTrack
  18. : public TAnimTrack<ICaptureKey>
  19. {
  20. public:
  21. AZ_CLASS_ALLOCATOR(CCaptureTrack, AZ::SystemAllocator);
  22. AZ_RTTI(CCaptureTrack, "{72505F9F-C098-4435-9C95-79013C4DD70B}", IAnimTrack);
  23. void SerializeKey(ICaptureKey& key, XmlNodeRef& keyNode, bool bLoading);
  24. void GetKeyInfo(int key, const char*& description, float& duration);
  25. static void Reflect(AZ::ReflectContext* context);
  26. };
  27. #endif // CRYINCLUDE_CRYMOVIE_CAPTURETRACK_H