Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCanvasTextItemBase
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include | #include "CanvasItem.h" |
void EnableShadow
&40;
const FLinearColor & InColor,
const FVector2D & InOffset
&41;
Remarks
Set the shadow offset and color.
Parameters
| Name | Description |
|---|---|
| InColor | Shadow color |
| InOffset | Shadow offset. Defaults to 1,1. (Passing zero vector will disable the shadow) |