49 lines
2.2 KiB
C++
49 lines
2.2 KiB
C++
/*
|
|
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
|
* its licensors.
|
|
*
|
|
* For complete copyright and license terms please see the LICENSE at the root of this
|
|
* distribution (the "License"). All use of this software is governed by the License,
|
|
* or, if provided, by the license below or the license accompanying this file. Do not
|
|
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AzCore/Console/IConsole.h>
|
|
|
|
namespace WhiteBox
|
|
{
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxVertexDeselectedColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxSelectedModifierColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxEdgeUserColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxEdgeMeshColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxEdgeHoveredColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxPolygonHoveredColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxPolygonHoveredOutlineColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxVertexHoveredColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxVertexSelectedModifierColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxVertexRestoreColor);
|
|
AZ_CVAR_EXTERNED(AZ::Color, cl_whiteBoxVertexHiddenRestoreColor);
|
|
AZ_CVAR_EXTERNED(float, cl_whiteBoxVertexManipulatorSize);
|
|
AZ_CVAR_EXTERNED(float, cl_whiteBoxMouseClickDeltaThreshold);
|
|
AZ_CVAR_EXTERNED(float, cl_whiteBoxModifierMidpointEpsilon);
|
|
AZ_CVAR_EXTERNED(float, cl_whiteBoxEdgeVisualWidth);
|
|
AZ_CVAR_EXTERNED(float, cl_whiteBoxEdgeSelectionWidth);
|
|
AZ_CVAR_EXTERNED(float, cl_whiteBoxSelectedEdgeVisualWidth);
|
|
|
|
//! Smallest area squared for a triangle to still be considered valid.
|
|
inline const float DegenerateTriangleAreaSquareEpsilon{std::numeric_limits<float>::epsilon()};
|
|
|
|
//! Default tint colour for WhiteBox render material.
|
|
inline const AZ::Vector3 DefaultMaterialTint = AZ::Vector3::CreateOne();
|
|
|
|
//! Default texture type for WhiteBox render material.
|
|
inline const bool DefaultMaterialUseTexture = true;
|
|
|
|
//! Default game mode visibility for WhiteBox render material.
|
|
inline const bool DefaultVisibility = true;
|
|
} // namespace WhiteBox
|