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::GradientSurfaceDataComponent Class Reference

Inherits AZ::Component, SurfaceData::SurfaceDataModifierRequestBus::Handler, LmbrCentral::DependencyNotificationBus::Handler, LmbrCentral::ShapeComponentNotificationsBus::Handler, and GradientSurfaceDataRequestBus::Handler.

Public Member Functions

 AZ_COMPONENT (GradientSurfaceDataComponent, GradientSurfaceDataComponentTypeId)
 
 GradientSurfaceDataComponent (const GradientSurfaceDataConfig &configuration)
 
void Activate () override
 
void Deactivate () override
 
bool ReadInConfig (const AZ::ComponentConfig *baseConfig) override
 
bool WriteOutConfig (AZ::ComponentConfig *outBaseConfig) const override
 
void ModifySurfacePoints (AZStd::span< const AZ::Vector3 > positions, AZStd::span< const AZ::EntityId > creatorEntityIds, AZStd::span< SurfaceData::SurfaceTagWeights > weights) const override
 
void OnCompositionChanged () 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 GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &services)
 
static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

void OnShapeChanged (LmbrCentral::ShapeComponentNotifications::ShapeChangeReasons reasons) override
 
void SetThresholdMin (float thresholdMin) override
 
float GetThresholdMin () const override
 
void SetThresholdMax (float thresholdMax) override
 
float GetThresholdMax () const 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::EntityId GetShapeConstraintEntityId () const override
 
void SetShapeConstraintEntityId (AZ::EntityId entityId) override
 

Friends

template<typename , typename >
class LmbrCentral::EditorWrappedComponentBase
 

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