UWidgetComponent::SetOpacityFromTexture

Sets how much opacity from the UI widget's texture alpha is used when rendering to the viewport (0.0-1.0)

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h

Include

#include "Components/WidgetComponent.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp

Syntax

void SetOpacityFromTexture
(
    const float NewOpacityFromTexture
)

Remarks

Sets how much opacity from the UI widget's texture alpha is used when rendering to the viewport (0.0-1.0)

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