FCanvasTextItemBase::EnableShadow

Set the shadow offset and color.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/CanvasItem.h

Include

#include "CanvasItem.h"

Syntax

void EnableShadow
(
    const FLinearColor & InColor,
    const FVector2D & InOffset
)

Remarks

Set the shadow offset and color.

Parameters

Parameter

Description

InColor

Shadow color

InOffset

Shadow offset. Defaults to 1,1. (Passing zero vector will disable the shadow)

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