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::EditorModeDesaturationPass Class Reference

Pass for editor mode feedback desaturation effect. More...

#include <EditorModeDesaturationPass.h>

Inherits AZ::Render::EditorModeFeedbackChildPassBase.

Public Member Functions

 AZ_RTTI (EditorModeDesaturationPass, "{3587B748-7EA8-497F-B2D1-F60E369EACF4}", EditorModeFeedbackChildPassBase)
 
 AZ_CLASS_ALLOCATOR (EditorModeDesaturationPass, SystemAllocator)
 
void SetDesaturationAmount (float amount)
 Sets the amount of desaturation to apply.
 
- Public Member Functions inherited from AZ::Render::EditorModeFeedbackChildPassBase
 AZ_RTTI (EditorModeFeedbackChildPassBase, "{F1F345E3-1396-47F7-9CA4-9AC87A2E9829}", AZ::RPI::FullscreenTrianglePass)
 
 AZ_CLASS_ALLOCATOR (EditorModeFeedbackChildPassBase, SystemAllocator)
 
void SetMinDepthTransitionValue (float minValue)
 Sets the minimum blend amount that will be calculated through depth transitioning.
 
void SetDepthTransitionStart (float start)
 Sets the start of depth transtion for non-mask effect blending.
 
void SetDepthTransitionDuration (float duration)
 Sets the duration (depth) of the depth transition band (0.0 = no depth transitioning will be applied).
 
void SetFinalBlendAmount (float amount)
 Sets the final blend amount that is used to scale the calculated blend values.
 

Static Public Member Functions

static RPI::Ptr< EditorModeDesaturationPassCreate (const RPI::PassDescriptor &descriptor)
 Creates a EditorModeDesaturationPass.
 
- Static Public Member Functions inherited from AZ::Render::EditorModeFeedbackChildPassBase
static RPI::Ptr< EditorModeFeedbackChildPassBaseCreate (const RPI::PassDescriptor &descriptor)
 Creates a EditorModeFeedbackPassBase.
 

Protected Member Functions

 EditorModeDesaturationPass (const RPI::PassDescriptor &descriptor)
 
- Protected Member Functions inherited from AZ::Render::EditorModeFeedbackChildPassBase
 EditorModeFeedbackChildPassBase (const RPI::PassDescriptor &descriptor, const DepthTransition &depthTransition, float finalBlendAmount)
 

Detailed Description

Pass for editor mode feedback desaturation effect.


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