Open 3D Engine GradientSignal Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <DitherGradientComponent.h>
Inherits AZ::Component, GradientRequestBus::Handler, DitherGradientRequestBus::Handler, and SectorDataNotificationBus::Handler.
Public Member Functions | |
AZ_COMPONENT (DitherGradientComponent, DitherGradientComponentTypeId) | |
DitherGradientComponent (const DitherGradientConfig &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 |
void | OnSectorDataConfigurationUpdated () const override |
Protected Member Functions | |
bool | GetUseSystemPointsPerUnit () const override |
void | SetUseSystemPointsPerUnit (bool value) override |
float | GetPointsPerUnit () const override |
void | SetPointsPerUnit (float points) override |
AZ::Vector3 | GetPatternOffset () const override |
void | SetPatternOffset (AZ::Vector3 offset) override |
AZ::u8 | GetPatternType () const override |
void | SetPatternType (AZ::u8 type) override |
GradientSampler & | GetGradientSampler () override |
Friends | |
template<typename , typename > | |
class | LmbrCentral::EditorWrappedComponentBase |
calculates a gradient output value by applying ordered dithering to the input gradient value