ViewportPivot.h 517 B

123456789101112131415161718192021222324252627
  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. #pragma once
  9. class ViewportPivot
  10. {
  11. public:
  12. ViewportPivot();
  13. virtual ~ViewportPivot();
  14. void Draw(Draw2dHelper& draw2d,
  15. const AZ::Entity* element,
  16. bool isHighlighted) const;
  17. AZ::Vector2 GetSize() const;
  18. private:
  19. std::unique_ptr< ViewportIcon > m_pivot;
  20. };