Open 3D Engine GradientSignal Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GradientSignal::SurfaceSlopeGradientComponent Class Reference

#include <SurfaceSlopeGradientComponent.h>

Inherits AZ::Component, GradientRequestBus::Handler, SurfaceSlopeGradientRequestBus::Handler, and SmoothStepRequestBus::Handler.

Public Member Functions

 AZ_COMPONENT (SurfaceSlopeGradientComponent, SurfaceSlopeGradientComponentTypeId)
 
 SurfaceSlopeGradientComponent (const SurfaceSlopeGradientConfig &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
 

Static Public Member Functions

static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &services)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &services)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &services)
 
static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

float GetSlopeMin () const override
 
void SetSlopeMin (float slopeMin) override
 
float GetSlopeMax () const override
 
void SetSlopeMax (float slopeMax) override
 
size_t GetNumTags () const override
 
AZ::Crc32 GetTag (int tagIndex) const override
 
void RemoveTag (int tagIndex) override
 
void AddTag (AZStd::string tag) override
 
AZ::u8 GetRampType () const override
 
void SetRampType (AZ::u8 rampType) override
 
float GetFallOffRange () const override
 
void SetFallOffRange (float range) override
 
float GetFallOffStrength () const override
 
void SetFallOffStrength (float strength) override
 
float GetFallOffMidpoint () const override
 
void SetFallOffMidpoint (float midpoint) override
 

Friends

template<typename , typename >
class LmbrCentral::EditorWrappedComponentBase
 

Detailed Description

Component implementing GradientRequestBus based on slope


The documentation for this class was generated from the following file: