UAnselFunctionLibrary::SetUIControlVisibility

Show or hide controls in the photography UI which let the player tweak standard UE visual effects during photography - for example, depth of field or chromatic aberration.

Windows
MacOS
Linux

References

Module

Ansel

Header

/Engine/Plugins/Runtime/Nvidia/Ansel/Source/Ansel/Public/AnselFunctionLibrary.h

Include

#include "AnselFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/Nvidia/Ansel/Source/Ansel/Private/AnselFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Photography", Meta=(WorldContext=WorldContextObject))
static void SetUIControlVisibility
(
    UObject * WorldContextObject,
    const TEnumAsByte< EUIControlEffectTarget > UIControlTarget,
    const bool bIsVisible
)

Remarks

Show or hide controls in the photography UI which let the player tweak standard UE visual effects during photography - for example, depth of field or chromatic aberration. Note: these controls only exist when SetAutoPostprocess is turned on. Some may not apply to your application either because you are not using the associated effect or you are using a custom version of the effect.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss