#include <SurfaceAltitudeGradientComponent.h>
Inherits AZ::Component, GradientRequestBus::Handler, SurfaceAltitudeGradientRequestBus::Handler, LmbrCentral::DependencyNotificationBus::Handler, AZ::TickBus::Handler, and SurfaceData::SurfaceDataSystemNotificationBus::Handler.
Public Member Functions | |
AZ_COMPONENT (SurfaceAltitudeGradientComponent, SurfaceAltitudeGradientComponentTypeId) | |
SurfaceAltitudeGradientComponent (const SurfaceAltitudeGradientConfig &configuration) | |
void | Activate () override |
void | Deactivate () override |
bool | ReadInConfig (const AZ::ComponentConfig *baseConfig) override |
bool | WriteOutConfig (AZ::ComponentConfig *outBaseConfig) const override |
void | OnCompositionChanged () override |
void | OnSurfaceChanged (const AZ::EntityId &entityId, const AZ::Aabb &oldBounds, const AZ::Aabb &newBounds, const SurfaceData::SurfaceTagSet &changedSurfaceTags) override |
void | OnTick (float deltaTime, AZ::ScriptTimePoint time) override |
void | UpdateFromShape () |
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 |
Component implementing GradientRequestBus based on altitude