Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint
Inheritance Hierarchy
- UBlueprintFunctionLibrary
- USlateBlueprintLibrary
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/SlateBlueprintLibrary.h |
| Include | #include "Blueprint/SlateBlueprintLibrary.h" |
Syntax
UCLASS (Meta=(ScriptName="SlateLibrary"), MinimalAPI)
class USlateBlueprintLibrary : public UBlueprintFunctionLibrary
Constructors
| Type | Name | Description | |
|---|---|---|---|
USlateBlueprintLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | AbsoluteToLocal
(
const FGeometry& Geometry, |
Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in. | |
| void | AbsoluteToViewport
(
UObject* WorldContextObject, |
Translates absolute coordinate in desktop space of the geometry provided into local viewport coordinates. | |
| bool | EqualEqual_SlateBrush
(
const FSlateBrush& A, |
Returns whether brushes A and B are identical. | |
| FVector2D | GetAbsoluteSize
(
const FGeometry& Geometry |
Returns the size of the geometry in absolute space. | |
| FVector2D | GetLocalSize
(
const FGeometry& Geometry |
Returns the size of the geometry in local space. | |
| FVector2D | GetLocalTopLeft
(
const FGeometry& Geometry |
Returns the local top/left of the geometry in local space. | |
| bool | IsUnderLocation
(
const FGeometry& Geometry, |
Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in. | |
| FVector2D | LocalToAbsolute
(
const FGeometry& Geometry, |
Translates local coordinates into absolute coordinates | |
| void | LocalToViewport
(
UObject* WorldContextObject, |
Translates local coordinate of the geometry provided into local viewport coordinates. | |
| void | ScreenToViewport
(
UObject* WorldContextObject, |
Translates a screen position in pixels into the local space of the viewport widget. | |
| void | ScreenToWidgetAbsolute
(
UObject* WorldContextObject, |
Translates a screen position in pixels into absolute application coordinates. | |
| void | ScreenToWidgetLocal
(
UObject* WorldContextObject, |
Translates a screen position in pixels into the local space of a widget with the given geometry. | |
| float | TransformScalarAbsoluteToLocal
(
const FGeometry& Geometry, |
||
| float | TransformScalarLocalToAbsolute
(
const FGeometry& Geometry, |
||
| FVector2D | TransformVectorAbsoluteToLocal
(
const FGeometry& Geometry, |
||
| FVector2D | TransformVectorLocalToAbsolute
(
const FGeometry& Geometry, |