Show / Hide Table of Contents

Class SlateBlueprintLibrary

Slate Blueprint Library

Inheritance
System.Object
UObject
BlueprintFunctionLibrary
SlateBlueprintLibrary
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class SlateBlueprintLibrary : BlueprintFunctionLibrary

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static SlateBlueprintLibrary DefaultObject { get; }
Property Value
Type Description
SlateBlueprintLibrary
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

AbsoluteToLocal(Geometry, Vector2D)

Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.

Declaration
public static Vector2D AbsoluteToLocal(Geometry Geometry, Vector2D AbsoluteCoordinate)
Parameters
Type Name Description
Geometry Geometry
Vector2D AbsoluteCoordinate
Returns
Type Description
Vector2D
Remarks

@return Transforms AbsoluteCoordinate into the local space of this Geometry.

| Improve this Doc View Source

AbsoluteToViewport(UObject, Vector2D)

Translates absolute coordinate in desktop space of the geometry provided into local viewport coordinates.

Declaration
public static (Vector2D, Vector2D) AbsoluteToViewport(UObject WorldContextObject, Vector2D AbsoluteDesktopCoordinate)
Parameters
Type Name Description
UObject WorldContextObject
Vector2D AbsoluteDesktopCoordinate
Returns
Type Description
System.ValueTuple<Vector2D, Vector2D>
Remarks

@param PixelPosition The position in the game's viewport, usable for line traces and other uses where you need a coordinate in the space of viewport resolution units. @param ViewportPosition The position in the space of other widgets in the viewport. Like if you wanted to add another widget to the viewport at the same position in viewport space as this location, this is what you would use.

| Improve this Doc View Source

EqualEqual_SlateBrush(SlateBrush, SlateBrush)

@return Whether brushes A and B are identical.

Declaration
public static bool EqualEqual_SlateBrush(SlateBrush A, SlateBrush B)
Parameters
Type Name Description
SlateBrush A
SlateBrush B
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetAbsoluteSize(Geometry)

@return the size of the geometry in absolute space.

Declaration
public static Vector2D GetAbsoluteSize(Geometry Geometry)
Parameters
Type Name Description
Geometry Geometry
Returns
Type Description
Vector2D
| Improve this Doc View Source

GetLocalSize(Geometry)

@return the size of the geometry in local space.

Declaration
public static Vector2D GetLocalSize(Geometry Geometry)
Parameters
Type Name Description
Geometry Geometry
Returns
Type Description
Vector2D
| Improve this Doc View Source

IsUnderLocation(Geometry, Vector2D)

Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.

Declaration
public static bool IsUnderLocation(Geometry Geometry, Vector2D AbsoluteCoordinate)
Parameters
Type Name Description
Geometry Geometry
Vector2D AbsoluteCoordinate
Returns
Type Description
System.Boolean
Remarks

@return true if the provided location in absolute coordinates is within the bounds of this geometry.

| Improve this Doc View Source

LocalToAbsolute(Geometry, Vector2D)

Translates local coordinates into absolute coordinates Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.

Declaration
public static Vector2D LocalToAbsolute(Geometry Geometry, Vector2D LocalCoordinate)
Parameters
Type Name Description
Geometry Geometry
Vector2D LocalCoordinate
Returns
Type Description
Vector2D
Remarks

@return Absolute coordinates

| Improve this Doc View Source

LocalToViewport(UObject, Geometry, Vector2D)

Translates local coordinate of the geometry provided into local viewport coordinates.

Declaration
public static (Vector2D, Vector2D) LocalToViewport(UObject WorldContextObject, Geometry Geometry, Vector2D LocalCoordinate)
Parameters
Type Name Description
UObject WorldContextObject
Geometry Geometry
Vector2D LocalCoordinate
Returns
Type Description
System.ValueTuple<Vector2D, Vector2D>
Remarks

@param PixelPosition The position in the game's viewport, usable for line traces and other uses where you need a coordinate in the space of viewport resolution units. @param ViewportPosition The position in the space of other widgets in the viewport. Like if you wanted to add another widget to the viewport at the same position in viewport space as this location, this is what you would use.

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static SlateBlueprintLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
SlateBlueprintLibrary

Operators

| Improve this Doc View Source

Implicit(IntPtr to SlateBlueprintLibrary)

Convert from IntPtr to UObject

Declaration
public static implicit operator SlateBlueprintLibrary(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
SlateBlueprintLibrary
  • Improve this Doc
  • View Source
Back to top Generated by DocFX