Open 3D Engine AtomLyIntegration 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.
AZ::Render::DecalNotifications Class Reference

Inherits AZ::ComponentBus.

Public Member Functions

 AZ_RTTI (DecalNotifications, "{BA81FBF5-FF66-4868-AD85-6B7954941B6B}")
 
virtual void OnAttenuationAngleChanged ([[maybe_unused]] float attenuationAngle)
 
virtual void OnDecalColorChanged ([[maybe_unused]] const AZ::Vector3 &decalColor)
 
virtual void OnDecalColorFactorChanged ([[maybe_unused]] float decalColorFacor)
 
virtual void OnOpacityChanged ([[maybe_unused]] float opacity)
 
virtual void OnNormalMapOpacityChanged ([[maybe_unused]] float opacity)
 
virtual void OnSortKeyChanged ([[maybe_unused]] uint8_t sortKey)
 
virtual void OnMaterialChanged (Data::Asset< RPI::MaterialAsset > materialAsset)
 

Member Function Documentation

◆ OnAttenuationAngleChanged()

virtual void AZ::Render::DecalNotifications::OnAttenuationAngleChanged ( [[maybe_unused] ] float  attenuationAngle)
inlinevirtual

Signals that the attenuation angle has changed.

Parameters
attenuationAngleThis controls how much the angle between geometry and the decal affects decal opacity.

◆ OnDecalColorChanged()

virtual void AZ::Render::DecalNotifications::OnDecalColorChanged ( [[maybe_unused] ] const AZ::Vector3 &  decalColor)
inlinevirtual

Signals that the decal color has changed.

Parameters
decalColorThis controls the decal color that gets multiplied with decal texture

◆ OnDecalColorFactorChanged()

virtual void AZ::Render::DecalNotifications::OnDecalColorFactorChanged ( [[maybe_unused] ] float  decalColorFacor)
inlinevirtual

Signals that the decal color factor has changed.

Parameters
decalColorFacorThis controls the decal color factor (in this case it is a multiplier) applied to the decal color

◆ OnMaterialChanged()

virtual void AZ::Render::DecalNotifications::OnMaterialChanged ( Data::Asset< RPI::MaterialAsset >  materialAsset)
inlinevirtual

Signals that the material has changed

Parameters
materialAssetThe material asset of the decal

◆ OnNormalMapOpacityChanged()

virtual void AZ::Render::DecalNotifications::OnNormalMapOpacityChanged ( [[maybe_unused] ] float  opacity)
inlinevirtual

Signals that the opacity has changed.

Parameters
opacityThe opaqueness of the decal.

◆ OnOpacityChanged()

virtual void AZ::Render::DecalNotifications::OnOpacityChanged ( [[maybe_unused] ] float  opacity)
inlinevirtual

Signals that the opacity has changed.

Parameters
opacityThe opaqueness of the decal.

◆ OnSortKeyChanged()

virtual void AZ::Render::DecalNotifications::OnSortKeyChanged ( [[maybe_unused] ] uint8_t  sortKey)
inlinevirtual

Signals that the sortkey has changed.

Parameters
sortKeyDecals with a larger sort key appear over top of smaller sort keys.

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