Navigation
API > API/Runtime > API/Runtime/UMG
| Name | USlateBlueprintLibrary |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/SlateBlueprintLibrary.h |
| Include Path | #include "Blueprint/SlateBlueprintLibrary.h" |
Syntax
UCLASS (Meta=(ScriptName="SlateLibrary"), MinimalAPI)
class USlateBlueprintLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → USlateBlueprintLibrary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USlateBlueprintLibrary
(
const FObjectInitializer& ObjectInitializer |
Blueprint/SlateBlueprintLibrary.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector2D AbsoluteToLocal
(
const FGeometry& Geometry, |
Transforms absolute coordinates into local coordinates | Blueprint/SlateBlueprintLibrary.h |
|
static void AbsoluteToViewport
(
const UObject* WorldContextObject, |
Translates absolute coordinate in desktop space of the geometry provided into local viewport coordinates. | Blueprint/SlateBlueprintLibrary.h |
|
static bool EqualEqual_SlateBrush
(
const FSlateBrush& A, |
Returns whether brushes A and B are identical. | Blueprint/SlateBlueprintLibrary.h |
|
static FVector2D GetAbsoluteSize
(
const FGeometry& Geometry |
Returns the size of the geometry in absolute space. | Blueprint/SlateBlueprintLibrary.h |
|
static FVector2D GetLocalSize
(
const FGeometry& Geometry |
Returns the size of the geometry in local space. | Blueprint/SlateBlueprintLibrary.h |
|
static FVector2D GetLocalTopLeft
(
const FGeometry& Geometry |
Returns the local top/left of the geometry in local space. | Blueprint/SlateBlueprintLibrary.h |
|
static 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. | Blueprint/SlateBlueprintLibrary.h |
|
static FVector2D LocalToAbsolute
(
const FGeometry& Geometry, |
Transforms local coordinates into absolute coordinates | Blueprint/SlateBlueprintLibrary.h |
|
| Translates local coordinate of the geometry provided into local viewport coordinates. | Blueprint/SlateBlueprintLibrary.h |
|
|
static float Scalar_AbsoluteToLocal
(
const FGeometry& Geometry, |
Transforms a scalar from absolute space to local space | Blueprint/SlateBlueprintLibrary.h |
|
static float Scalar_LocalToAbsolute
(
const FGeometry& Geometry, |
Transforms a scalar from local space to absolute space | Blueprint/SlateBlueprintLibrary.h |
|
static void ScreenToViewport
(
const UObject* WorldContextObject, |
Translates a screen position in pixels into the local space of the viewport widget. | Blueprint/SlateBlueprintLibrary.h |
|
static void ScreenToWidgetAbsolute
(
const UObject* WorldContextObject, |
Translates a screen position in pixels into absolute application coordinates. | Blueprint/SlateBlueprintLibrary.h |
|
static void ScreenToWidgetLocal
(
const UObject* WorldContextObject, |
Translates a screen position in pixels into the local space of a widget with the given geometry. | Blueprint/SlateBlueprintLibrary.h |
|
static float TransformScalarAbsoluteToLocal
(
const FGeometry& Geometry, |
Blueprint/SlateBlueprintLibrary.h |
|
|
static float TransformScalarLocalToAbsolute
(
const FGeometry& Geometry, |
Blueprint/SlateBlueprintLibrary.h |
|
|
static FVector2D TransformVectorAbsoluteToLocal
(
const FGeometry& Geometry, |
Blueprint/SlateBlueprintLibrary.h |
|
|
static FVector2D TransformVectorLocalToAbsolute
(
const FGeometry& Geometry, |
Blueprint/SlateBlueprintLibrary.h |
|
|
static FVector2D Vector_AbsoluteToLocal
(
const FGeometry& Geometry, |
Transforms a vector from absolute space to local space | Blueprint/SlateBlueprintLibrary.h |
|
static FVector2D Vector_LocalToAbsolute
(
const FGeometry& Geometry, |
Transforms a vector from local space to absolute space | Blueprint/SlateBlueprintLibrary.h |
|