VisualU 1.2.1
Plugin for Unreal Engine 5 that brings core functionality for a widget-based visual novel game
 
Loading...
Searching...
No Matches
FVisualAnchors Struct Reference

Extends FAnchors with human-friendly constants for all possible anchors' positions. More...

#include <VisualDefaults.h>

Inheritance diagram for FVisualAnchors:

Public Member Functions

 FVisualAnchors (float UniformAnchors)
 
 FVisualAnchors (float Horizontal, float Vertical)
 
 FVisualAnchors (float MinX, float MinY, float MaxX, float MaxY)
 
 FVisualAnchors (const FAnchors &Other)
 
FString ToString () const
 String representation of this anchor.
 

Static Public Attributes

static const FAnchors Default = FAnchors()
 
static const FAnchors FullScreen = FAnchors(0, 0, 1, 1)
 
static const FAnchors BottomLeft = FAnchors(0, 1, 0, 1)
 
static const FAnchors MiddleLeft = FAnchors(0, 0.5, 0, 0.5)
 
static const FAnchors TopLeft = FAnchors(0, 0, 0, 0)
 
static const FAnchors BottomRight = FAnchors(1, 1, 1, 1)
 
static const FAnchors MiddleRight = FAnchors(1, 0.5, 1, 0.5)
 
static const FAnchors TopRight = FAnchors(1, 0, 1, 0)
 
static const FAnchors BottomCenter = FAnchors(0.5, 1, 0.5, 1)
 
static const FAnchors Center = FAnchors(0.5, 0.5, 0.5, 0.5)
 
static const FAnchors TopCenter = FAnchors(0.5, 0, 0.5, 0)
 
static const FAnchors BottomHorizontal = FAnchors(0, 1, 1, 1)
 
static const FAnchors MiddleHorizontal = FAnchors(0, 0.5, 1, 0.5)
 
static const FAnchors TopHorizontal = FAnchors(0, 0, 1, 0)
 
static const FAnchors LeftVertical = FAnchors(0, 0, 0, 1)
 
static const FAnchors CenterVertical = FAnchors(0.5, 0, 0.5, 1)
 
static const FAnchors RightVertical = FAnchors(1, 0, 1, 1)
 

Detailed Description

Extends FAnchors with human-friendly constants for all possible anchors' positions.

Member Function Documentation

◆ ToString()

FString FVisualAnchors::ToString ( ) const
inline

String representation of this anchor.

Returns
string of minimum and maximum components

The documentation for this struct was generated from the following file: