Open 3D Engine Atom Gem API Reference  23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::LightingPreset Struct Referencefinal

LightingPreset describes a lighting environment that can be applied to the viewport. More...

#include <LightingPreset.h>

Public Member Functions

 AZ_TYPE_INFO (AZ::Render::LightingPreset,"{6EEACBC0-2D97-414C-8E87-088E7BA231A9}")
 
 AZ_CLASS_ALLOCATOR (LightingPreset, AZ::SystemAllocator)
 
void ApplyLightingPreset (ImageBasedLightFeatureProcessorInterface *iblFeatureProcessor, SkyBoxFeatureProcessorInterface *skyboxFeatureProcessor, ExposureControlSettingsInterface *exposureControlSettingsInterface, DirectionalLightFeatureProcessorInterface *directionalLightFeatureProcessor, const Camera::Configuration &cameraConfig, AZStd::vector< DirectionalLightFeatureProcessorInterface::LightHandle > &lightHandles, bool enableAlternateSkybox) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::Data::Asset
< AZ::RPI::StreamingImageAsset
m_iblDiffuseImageAsset
 
AZ::Data::Asset
< AZ::RPI::StreamingImageAsset
m_iblSpecularImageAsset
 
AZ::Data::Asset
< AZ::RPI::StreamingImageAsset
m_skyboxImageAsset
 
AZ::Data::Asset
< AZ::RPI::StreamingImageAsset
m_alternateSkyboxImageAsset
 
float m_iblExposure = 0.0f
 
float m_skyboxExposure = 0.0f
 
ExposureControlConfig m_exposure
 
AZStd::vector< LightConfigm_lights
 
float m_shadowCatcherOpacity = 0.5f
 

Static Public Attributes

static constexpr char const Extension [] = "lightingpreset.azasset"
 

Detailed Description

LightingPreset describes a lighting environment that can be applied to the viewport.


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