Open 3D Engine AtomLyIntegration Gem API Reference 23.10.0
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 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.

◆ 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: