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::DecalRequests Class Referenceabstract

Inherits AZ::ComponentBus.

Public Member Functions

 AZ_RTTI (DecalRequests, "{E9FC84EC-C63A-4241-B284-B8B72487F269}")
 
virtual float GetAttenuationAngle () const =0
 Gets the attenuation angle. This controls how much the angle between geometry and the decal affects decal opacity.
 
virtual void SetAttenuationAngle (float angle)=0
 Sets the attenuation angle. This controls how much the angle between geometry and the decal affects decal opacity.
 
virtual float GetOpacity () const =0
 Gets the decal opacity.
 
virtual void SetOpacity (float opacity)=0
 Sets the decal opacity.
 
virtual float GetNormalMapOpacity () const =0
 Gets the decal normal map opacity.
 
virtual void SetNormalMapOpacity (float opacity)=0
 Sets the decal normal map opacity.
 
virtual uint8_t GetSortKey () const =0
 Gets the decal sort key. Decals with a larger sort key appear over top of smaller sort keys.
 
virtual void SetSortKey (uint8_t sortKey)=0
 Sets the decal sort key. Decals with a larger sort key appear over top of smaller sort keys.
 
virtual void SetMaterialAssetId (Data::AssetId)=0
 Sets the material asset Id for this decal.
 
virtual Data::AssetId GetMaterialAssetId () const =0
 Gets the material assert Id for this decal.
 

Static Public Attributes

static const EBusHandlerPolicy HandlerPolicy = EBusHandlerPolicy::Single
 Overrides the default AZ::EBusTraits handler policy to allow one listener only.
 

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