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.
45 lines
1.4 KiB
C++
45 lines
1.4 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 <GradientSignalModule.h>
|
|
|
|
namespace GradientSignal
|
|
{
|
|
class GradientSignalEditorModule
|
|
: public GradientSignalModule
|
|
{
|
|
public:
|
|
AZ_RTTI(GradientSignalEditorModule, "{F8AB732B-3563-4727-9326-3DF2AC42A6D8}", GradientSignalModule);
|
|
AZ_CLASS_ALLOCATOR(GradientSignalEditorModule, AZ::SystemAllocator, 0);
|
|
|
|
GradientSignalEditorModule();
|
|
|
|
AZ::ComponentTypeList GetRequiredSystemComponents() const override;
|
|
};
|
|
|
|
class GradientSignalEditorSystemComponent
|
|
: public AZ::Component
|
|
{
|
|
public:
|
|
AZ_COMPONENT(GradientSignalEditorSystemComponent, "{A3F1E796-7C69-441C-8FA1-3A4001EF2DE3}");
|
|
|
|
static void Reflect(AZ::ReflectContext* context);
|
|
static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
|
|
static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
|
|
static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
|
|
static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
|
|
|
|
private:
|
|
// AZ::Component
|
|
void Activate() override;
|
|
void Deactivate() override;
|
|
};
|
|
}
|