Open 3D Engine AtomLyIntegration Gem API Reference 24.09.2
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 (float attenuationAngle)
 
virtual void OnDecalColorChanged (const AZ::Vector3 &decalColor)
 
virtual void OnDecalColorFactorChanged (float decalColorFacor)
 
virtual void OnOpacityChanged (float opacity)
 
virtual void OnNormalMapOpacityChanged (float opacity)
 
virtual void OnSortKeyChanged (uint8_t sortKey)
 
virtual void OnMaterialChanged (Data::Asset< RPI::MaterialAsset > materialAsset)
 

Member Function Documentation

◆ OnAttenuationAngleChanged()

virtual void AZ::Render::DecalNotifications::OnAttenuationAngleChanged ( 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 ( 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 ( 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 ( float opacity)
inlinevirtual

Signals that the opacity has changed.

Parameters
opacityThe opaqueness of the decal.

◆ OnOpacityChanged()

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

Signals that the opacity has changed.

Parameters
opacityThe opaqueness of the decal.

◆ OnSortKeyChanged()

virtual void AZ::Render::DecalNotifications::OnSortKeyChanged ( 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: