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

Inherits AZ::Component, and OpenParticle::DistributionCacheInterface.

Public Member Functions

 AZ_COMPONENT (DistributionCacheComponent, "{A15FA27F-1213-4046-AE08-7958A7918CFA}")
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
AZStd::string GetKey (const void *detailInfo, const AZStd::string &className, const AZStd::string &moduleName, const AZ::Uuid &paramId) override
 
void StashDistributionRandom (AZStd::string &key, RandomData &dist) override
 
bool PopDistributionRandom (AZStd::string &key, AZStd::vector< RandomData > &dists) override
 
void StashDistributionCurve (AZStd::string &key, CurveData &curve) override
 
bool PopDistributionCurve (AZStd::string &key, AZStd::vector< CurveData > &dists) override
 
void ClearDistribution () override
 
- Public Member Functions inherited from OpenParticle::DistributionCacheInterface
 AZ_RTTI (DistributionCacheInterface, "{7BA4AB4D-C284-4F3A-AC07-1DFAED6139EE}")
 

Static Public Member Functions

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

Protected Attributes

AZStd::unordered_map< AZStd::string, AZStd::vector< RandomData > > m_cacheRandom
 
AZStd::unordered_map< AZStd::string, AZStd::vector< CurveData > > m_cacheCurve
 

Member Function Documentation

◆ ClearDistribution()

void OpenParticle::DistributionCacheComponent::ClearDistribution ( )
overridevirtual

◆ GetKey()

AZStd::string OpenParticle::DistributionCacheComponent::GetKey ( const void *  detailInfo,
const AZStd::string &  className,
const AZStd::string &  moduleName,
const AZ::Uuid &  paramId 
)
overridevirtual

◆ PopDistributionCurve()

bool OpenParticle::DistributionCacheComponent::PopDistributionCurve ( AZStd::string &  key,
AZStd::vector< CurveData > &  dists 
)
overridevirtual

◆ PopDistributionRandom()

bool OpenParticle::DistributionCacheComponent::PopDistributionRandom ( AZStd::string &  key,
AZStd::vector< RandomData > &  dists 
)
overridevirtual

◆ StashDistributionCurve()

void OpenParticle::DistributionCacheComponent::StashDistributionCurve ( AZStd::string &  key,
CurveData &  curve 
)
overridevirtual

◆ StashDistributionRandom()

void OpenParticle::DistributionCacheComponent::StashDistributionRandom ( AZStd::string &  key,
RandomData &  dist 
)
overridevirtual

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