#include <SurfaceMaskGradientComponent.h>
Inherits AZ::Component, GradientRequestBus::Handler, SurfaceMaskGradientRequestBus::Handler, and SurfaceData::SurfaceDataSystemNotificationBus::Handler.
Public Member Functions | |
AZ_COMPONENT (SurfaceMaskGradientComponent, SurfaceMaskGradientComponentTypeId) | |
SurfaceMaskGradientComponent (const SurfaceMaskGradientConfig &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 |
Friends | |
template<typename , typename > | |
class | LmbrCentral::EditorWrappedComponentBase |
calculates a gradient value based on percent contribution from surface tags