#include <PosterizeGradientComponent.h>
Inherits AZ::Component, GradientRequestBus::Handler, and PosterizeGradientRequestBus::Handler.
Public Member Functions | |
AZ_COMPONENT (PosterizeGradientComponent, PosterizeGradientComponentTypeId) | |
PosterizeGradientComponent (const PosterizeGradientConfig &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 | |
AZ::s32 | GetBands () const override |
void | SetBands (AZ::s32 bands) override |
AZ::u8 | GetModeType () const override |
void | SetModeType (AZ::u8 modeType) 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