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 <ConstantGradientComponent.h>
Inherits AZ::Component, GradientRequestBus::Handler, and ConstantGradientRequestBus::Handler.
Public Member Functions | |
AZ_COMPONENT (ConstantGradientComponent, ConstantGradientComponentTypeId) | |
ConstantGradientComponent (const ConstantGradientConfig &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 |
Protected Member Functions | |
float | GetConstantValue () const override |
void | SetConstantValue (float constant) override |
Friends | |
template<typename , typename > | |
class | LmbrCentral::EditorWrappedComponentBase |
always returns a constant value as a gradient