UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UMGStyle.cpp File Reference

Macros

#define IMAGE_BRUSH(RelativePath, ...)   FSlateImageBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define BOX_BRUSH(RelativePath, ...)   FSlateBoxBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define BORDER_BRUSH(RelativePath, ...)   FSlateBorderBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define IMAGE_BRUSH_SVG(RelativePath, ...)   FSlateVectorImageBrush(Style->RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)
 

Variables

const FVector2D Icon16x16 (16.0f, 16.0f)
 
const FVector2D Icon20x20 (20.0f, 20.0f)
 
const FVector2D Icon40x40 (40.0f, 40.0f)
 
const FVector2D Icon64x64 (64.0f, 64.0f)
 

Macro Definition Documentation

◆ BORDER_BRUSH

#define BORDER_BRUSH (   RelativePath,
  ... 
)    FSlateBorderBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ BOX_BRUSH

#define BOX_BRUSH (   RelativePath,
  ... 
)    FSlateBoxBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ IMAGE_BRUSH

#define IMAGE_BRUSH (   RelativePath,
  ... 
)    FSlateImageBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ IMAGE_BRUSH_SVG

#define IMAGE_BRUSH_SVG (   RelativePath,
  ... 
)    FSlateVectorImageBrush(Style->RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)

Variable Documentation

◆ Icon16x16

const FVector2D Icon16x16(16.0f, 16.0f) ( 16.  0f,
16.  0f 
)

◆ Icon20x20

const FVector2D Icon20x20(20.0f, 20.0f) ( 20.  0f,
20.  0f 
)

◆ Icon40x40

const FVector2D Icon40x40(40.0f, 40.0f) ( 40.  0f,
40.  0f 
)

◆ Icon64x64

const FVector2D Icon64x64(64.0f, 64.0f) ( 64.  0f,
64.  0f 
)