#include <LevelsGradientComponent.h>
Inherits AZ::Component, GradientRequestBus::Handler, and LevelsGradientRequestBus::Handler.
Public Member Functions | |
AZ_COMPONENT (LevelsGradientComponent, LevelsGradientComponentTypeId) | |
LevelsGradientComponent (const LevelsGradientConfig &configuration) | |
void | Activate () override |
void | Deactivate () override |
bool | ReadInConfig (const AZ::ComponentConfig *baseConfig) override |
bool | WriteOutConfig (AZ::ComponentConfig *outBaseConfig) const override |
float | GetValue (const GradientSampleParams &sampleParams) const override |
void | GetValues (AZStd::span< const AZ::Vector3 > positions, AZStd::span< float > outValues) const override |
bool | IsEntityInHierarchy (const AZ::EntityId &entityId) const override |
Protected Member Functions | |
float | GetInputMin () const override |
void | SetInputMin (float value) override |
float | GetInputMid () const override |
void | SetInputMid (float value) override |
float | GetInputMax () const override |
void | SetInputMax (float value) override |
float | GetOutputMin () const override |
void | SetOutputMin (float value) override |
float | GetOutputMax () const override |
void | SetOutputMax (float value) override |
GradientSampler & | GetGradientSampler () override |
Friends | |
template<typename , typename > | |
class | LmbrCentral::EditorWrappedComponentBase |
calculates a gradient value by converting values from another gradient to another's range