You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/WhiteBox/Code/Source/Viewport/WhiteBoxViewportConstants.cpp

54 lines
2.7 KiB
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "WhiteBoxViewportConstants.h"
namespace WhiteBox
{
AZ_CVAR(
AZ::Color, cl_whiteBoxEdgeHoveredColor, AZ::Color::CreateFromRgba(255, 100, 0, 255), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxEdgeMeshColor, AZ::Color::CreateFromRgba(127, 127, 127, 76), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxEdgeUserColor, AZ::Color::CreateFromRgba(0, 0, 0, 76), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxPolygonHoveredColor, AZ::Color::CreateFromRgba(255, 175, 0, 127), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxPolygonHoveredOutlineColor, AZ::Color::CreateFromRgba(255, 100, 0, 255), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxSelectedModifierColor, AZ::Color::CreateFromRgba(0, 150, 255, 255), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxVertexDeselectedColor, AZ::Color::CreateFromRgba(25, 100, 255, 150), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxVertexHiddenRestoreColor, AZ::Color::CreateFromRgba(200, 200, 200, 255), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxVertexHoveredColor, AZ::Color::CreateFromRgba(255, 100, 0, 255), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxVertexRestoreColor, AZ::Color::CreateFromRgba(50, 50, 50, 150), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(
AZ::Color, cl_whiteBoxVertexSelectedModifierColor, AZ::Color::CreateFromRgba(0, 150, 255, 200), nullptr,
AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(float, cl_whiteBoxVertexManipulatorSize, 0.125f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(float, cl_whiteBoxMouseClickDeltaThreshold, 0.001f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(float, cl_whiteBoxModifierMidpointEpsilon, 0.01f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(float, cl_whiteBoxEdgeVisualWidth, 5.0f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(float, cl_whiteBoxEdgeSelectionWidth, 0.075f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
AZ_CVAR(float, cl_whiteBoxSelectedEdgeVisualWidth, 6.0f, nullptr, AZ::ConsoleFunctorFlags::Null, "");
} // namespace WhiteBox