/* * 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 "Include/IPreferencesPage.h" #include #include class CEditorPreferencesPage_ExperimentalLighting : public IPreferencesPage { public: AZ_RTTI(CEditorPreferencesPage_ExperimentalLighting, "{5D65D6A2-22B3-4CB7-A3F7-DC2B5034C9C2}", IPreferencesPage) static void Reflect(AZ::SerializeContext& serialize); CEditorPreferencesPage_ExperimentalLighting(); virtual ~CEditorPreferencesPage_ExperimentalLighting() = default; virtual const char* GetCategory() override { return "Experimental Features"; } virtual const char* GetTitle() override; virtual QIcon& GetIcon() override; virtual void OnApply() override; virtual void OnCancel() override {} virtual bool OnQueryCancel() override { return true; } private: void InitializeSettings(); struct Options { AZ_TYPE_INFO(Options, "{ED7400E6-3978-4C92-B366-7369E05760FD}") bool m_totalIlluminationEnabled; }; Options m_options; QIcon m_icon; };