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.
GradientSignal::SurfaceSlopeGradientConfig Class Reference

Inherits AZ::ComponentConfig.

Public Types

enum class  RampType : AZ::u8 { LINEAR_RAMP_DOWN , LINEAR_RAMP_UP , SMOOTH_STEP }
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (SurfaceSlopeGradientConfig, AZ::SystemAllocator)
 
 AZ_RTTI (SurfaceSlopeGradientConfig, "{691E0F23-37E9-434F-A1D1-E8DE5B4A3405}", AZ::ComponentConfig)
 
size_t GetNumTags () const
 
AZ::Crc32 GetTag (int tagIndex) const
 
void RemoveTag (int tagIndex)
 
void AddTag (AZStd::string tag)
 
bool IsSmoothStepReadOnly () const
 
AZ::Crc32 GetSmoothStepParameterVisibility () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

float m_slopeMin = 0.0f
 
float m_slopeMax = 20.0f
 
SurfaceData::SurfaceTagVector m_surfaceTagsToSample
 
RampType m_rampType = RampType::LINEAR_RAMP_DOWN
 
SmoothStep m_smoothStep
 

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