Open 3D Engine FastNoise 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.
FastNoiseGem::FastNoiseGradientComponent Class Reference

Inherits AZ::Component, GradientSignal::GradientRequestBus::Handler, FastNoiseGradientRequestBus::Handler, and GradientSignal::GradientTransformNotificationBus::Handler.

Public Member Functions

 AZ_COMPONENT (FastNoiseGradientComponent, FastNoiseGradientComponentTypeId)
 
 FastNoiseGradientComponent (const FastNoiseGradientConfig &configuration)
 
void Activate () override
 
void Deactivate () override
 
bool ReadInConfig (const AZ::ComponentConfig *baseConfig) override
 
bool WriteOutConfig (AZ::ComponentConfig *outBaseConfig) const override
 
float GetValue (const GradientSignal::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

void OnGradientTransformChanged (const GradientSignal::GradientTransform &newTransform) override
 
int GetRandomSeed () const override
 
void SetRandomSeed (int seed) override
 
float GetFrequency () const override
 
void SetFrequency (float freq) override
 
FastNoise::Interp GetInterpolation () const override
 
void SetInterpolation (FastNoise::Interp interp) override
 
FastNoise::NoiseType GetNoiseType () const override
 
void SetNoiseType (FastNoise::NoiseType type) override
 
int GetOctaves () const override
 
void SetOctaves (int octaves) override
 
float GetLacunarity () const override
 
void SetLacunarity (float lacunarity) override
 
float GetGain () const override
 
void SetGain (float gain) override
 
FastNoise::FractalType GetFractalType () const override
 
void SetFractalType (FastNoise::FractalType type) override
 
template<typename TValueType , TValueType FastNoiseGradientConfig::* TConfigMember, void(FastNoise::*)(TValueType) TMethod>
void SetConfigValue (TValueType value)
 

Protected Attributes

FastNoiseGradientConfig m_configuration
 
FastNoise m_generator
 
GradientSignal::GradientTransform m_gradientTransform
 
AZStd::shared_mutex m_queryMutex
 

Friends

class EditorFastNoiseGradientComponent
 
template<typename , typename >
class LmbrCentral::EditorWrappedComponentBase
 

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