IKeyTimeSet.h 930 B

123456789101112131415161718192021222324252627282930
  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_EDITOR_INCLUDE_IKEYTIMESET_H
  9. #define CRYINCLUDE_EDITOR_INCLUDE_IKEYTIMESET_H
  10. #pragma once
  11. class IKeyTimeSet
  12. {
  13. public:
  14. virtual int GetKeyTimeCount() const = 0;
  15. virtual float GetKeyTime(int index) const = 0;
  16. virtual void MoveKeyTimes(int numChanges, int* indices, float scale, float offset, bool copyKeys) = 0;
  17. virtual bool GetKeyTimeSelected(int index) const = 0;
  18. virtual void SetKeyTimeSelected(int index, bool selected) = 0;
  19. virtual int GetKeyCount(int index) const = 0;
  20. virtual int GetKeyCountBound() const = 0;
  21. virtual void BeginEdittingKeyTimes() = 0;
  22. virtual void EndEdittingKeyTimes() = 0;
  23. };
  24. #endif // CRYINCLUDE_EDITOR_INCLUDE_IKEYTIMESET_H