WhiteBoxViewportConstants.cpp 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. #include "WhiteBoxViewportConstants.h"
  9. namespace WhiteBox
  10. {
  11. AZ_CVAR(float, cl_whiteBoxVertexManipulatorSize, 0.125f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
  12. AZ_CVAR(float, cl_whiteBoxMouseClickDeltaThreshold, 0.001f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
  13. AZ_CVAR(float, cl_whiteBoxModifierMidpointEpsilon, 0.01f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
  14. AZ_CVAR(float, cl_whiteBoxEdgeVisualWidth, 5.0f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
  15. AZ_CVAR(float, cl_whiteBoxEdgeSelectionWidth, 0.075f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
  16. AZ_CVAR(float, cl_whiteBoxSelectedEdgeVisualWidth, 6.0f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
  17. AZ_CVAR(float, ed_whiteBoxPolygonViewOverlapOffset, 0.004f, nullptr, AZ::ConsoleFunctorFlags::Null, "The offset highlighted polygon");
  18. AZ_CVAR(AZ::Color, ed_whiteBoxVertexHiddenColor, AZ::Color::CreateFromRgba(200, 200, 200, 255), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the polygon when hovered over");
  19. AZ_CVAR(AZ::Color, ed_whiteBoxVertexRestoredColor,AZ::Color::CreateFromRgba(50, 50, 50, 150), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the outline when hovered over");
  20. AZ_CVAR(AZ::Color, ed_whiteBoxVertexUnselected, AZ::Color::CreateFromRgba(0, 100, 255, 150), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the verticies when selected");
  21. AZ_CVAR(AZ::Color, ed_whiteBoxEdgeUnselected, AZ::Color::CreateFromRgba(127, 127, 127, 76), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the verticies when selected");
  22. AZ_CVAR(AZ::Color, ed_whiteBoxEdgeDefault, AZ::Color::CreateFromRgba(0, 0, 0, 76), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the verticies when selected");
  23. AZ_CVAR(AZ::Color, ed_whiteBoxVertexHover, AZ::Color::CreateFromRgba(0, 150, 255, 200), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the verticies when selected");
  24. AZ_CVAR(AZ::Color, ed_whiteBoxPolygonHover, AZ::Color::CreateFromRgba(255, 175, 0, 127), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the polygon when hovered over");
  25. AZ_CVAR(AZ::Color, ed_whiteBoxOutlineHover, AZ::Color::CreateFromRgba(255, 100, 0, 255), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the outline when hovered over");
  26. AZ_CVAR(AZ::Color, ed_whiteBoxPolygonSelection, AZ::Color::CreateFromRgba(0, 150, 255, 127), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the polygon when selected");
  27. AZ_CVAR(AZ::Color, ed_whiteBoxVertexSelection, AZ::Color::CreateFromRgba(0, 150, 255, 200), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the verticies when selected");
  28. AZ_CVAR(AZ::Color, ed_whiteBoxOutlineSelection, AZ::Color::CreateFromRgba(0, 150, 255, 255), nullptr, AZ::ConsoleFunctorFlags::Null, "Color of the outline when selected");
  29. } // namespace WhiteBox