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.
53 lines
2.3 KiB
C++
53 lines
2.3 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
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include <AzCore/Math/Color.h>
|
|
#include <AzCore/Memory/SystemAllocator.h>
|
|
|
|
namespace AZ::Render
|
|
{
|
|
// RenderActorSettings is a subset of RenderOptions. The goal is eventually move those actor render related settings out of render options since
|
|
// it will be shared between main editor and animation editor.
|
|
class RenderActorSettings
|
|
{
|
|
public:
|
|
AZ_RTTI(RenderActorSettings, "{240BDFE2-D7F5-4927-A8CA-D2945E41AFFD}");
|
|
AZ_CLASS_ALLOCATOR(RenderActorSettings, AZ::SystemAllocator, 0)
|
|
|
|
virtual ~RenderActorSettings() = default;
|
|
|
|
float m_vertexNormalsScale = 1.0f;
|
|
float m_faceNormalsScale = 1.0f;
|
|
float m_tangentsScale = 1.0f;
|
|
float m_wireframeScale = 1.0f;
|
|
float m_nodeOrientationScale = 1.0f;
|
|
|
|
AZ::Color m_hitDetectionColliderColor{0.44f, 0.44f, 0.44f, 1.0f};
|
|
AZ::Color m_selectedHitDetectionColliderColor{ 0.3f, 0.56f, 0.88f, 1.0f };
|
|
AZ::Color m_ragdollColliderColor{ 0.44f, 0.44f, 0.44f, 1.0f };
|
|
AZ::Color m_selectedRagdollColliderColor{ 0.96f, 0.65f, 0.14f, 1.0f };
|
|
AZ::Color m_violatedJointLimitColor{ 1.0f, 0.0f, 0.0f, 1.0f };
|
|
AZ::Color m_clothColliderColor{ 0.44f, 0.44f, 0.44f, 1.0f };
|
|
AZ::Color m_selectedClothColliderColor{ 0.6f, 0.46f, 1.0f, 1.0f };
|
|
AZ::Color m_simulatedObjectColliderColor{ 0.44f, 0.44f, 0.44f, 1.0f };
|
|
AZ::Color m_selectedSimulatedObjectColliderColor{ 1.0, 0.34f, 0.87f, 1.0f };
|
|
|
|
AZ::Color m_vertexNormalsColor{ 0.0f, 1.0f, 0.0f, 1.0f };
|
|
AZ::Color m_faceNormalsColor{ 0.5f, 0.5f, 1.0f, 1.0f };
|
|
AZ::Color m_tangentsColor{ 1.0f, 0.0f, 0.0f, 1.0f };
|
|
AZ::Color m_mirroredBitangentsColor{ 1.0f, 1.0f, 0.0f, 1.0f };
|
|
AZ::Color m_bitangentsColor{ 1.0f, 1.0f, 1.0f, 1.0f };
|
|
AZ::Color m_wireframeColor{ 0.0f, 0.0f, 0.0f, 1.0f };
|
|
AZ::Color m_staticAABBColor{ 0.0f, 0.7f, 0.7f, 1.0f };
|
|
AZ::Color m_lineSkeletonColor{ 0.33333f, 1.0f, 0.0f, 1.0f };
|
|
AZ::Color m_skeletonColor{ 0.19f, 0.58f, 0.19f, 1.0f };
|
|
AZ::Color m_jointNameColor{ 1.0f, 1.0f, 1.0f, 1.0f };
|
|
};
|
|
} // namespace AZ::Render
|