FAlphaBlend::AlphaToBlendOption

Converts InAlpha from a linear 0...1 value into the output alpha described by InBlendOption

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AlphaBlend.h

Include

#include "AlphaBlend.h"

Source

/Engine/Source/Runtime/Engine/Private/AlphaBlend.cpp

Syntax

static float AlphaToBlendOption
(
    float InAlpha,
    EAlphaBlendOption InBlendOption,
    UCurveFloat * InCustomCurve
)

Remarks

Converts InAlpha from a linear 0...1 value into the output alpha described by InBlendOption

Parameters

Parameter

Description

InAlpha

In linear 0...1 alpha

InBlendOption

The type of blend to use

InCustomCurve

The curve to use when blend option is set to custom

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