G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UGridSlot Class Reference

A slot for UGridPanel, these slots all share the same size as the largest slot in the grid. More...

Public Member Functions

Layout|Border Slot
void SetPadding (FMargin InPadding)
Functions
const FMargin & GetPadding () const
 The padding area between the slot and the content it contains.
const EHorizontalAlignment & GetHorizontalAlignment () const
 The alignment of the object horizontally.
const EVerticalAlignment & GetVerticalAlignment () const
 The alignment of the object vertically.
const int & GetRow () const
 The row index of the cell this slot is in.
const int & GetRowSpan () const
const int & GetColumn () const
 The column index of the cell this slot is in.
const int & GetColumnSpan () const
const int & GetLayer () const
 Positive values offset this cell to be hit-tested and drawn on top of others. Default is 0; i.e. no offset.
const FVector2D & GetNudge () const
 Offset this slot's content by some amount; positive values offset to lower right.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UPanelSlot
static UClass StaticClass ()
Static Public Member Functions inherited from UVisual
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Layout|Grid Slot

int RowSpan
EHorizontalAlignment HorizontalAlignment
 The alignment of the object horizontally.
EVerticalAlignment VerticalAlignment
 The alignment of the object vertically.
int Row
 The row index of the cell this slot is in.
FMargin Padding
 The padding area between the slot and the content it contains.
int Column
 The column index of the cell this slot is in.
int ColumnSpan
int Layer
 Positive values offset this cell to be hit-tested and drawn on top of others. Default is 0; i.e. no offset.
FVector2D Nudge
 Offset this slot's content by some amount; positive values offset to lower right.
void SetHorizontalAlignment (EHorizontalAlignment InHorizontalAlignment)
void SetLayer (int InLayer)
 Sets positive values offset this cell to be hit-tested and drawn on top of others.
void SetColumn (int InColumn)
 Sets the column index of the slot, this determines what cell the slot is in the panel.
void SetColumnSpan (int InColumnSpan)
 How many columns this slot spans over.
void SetNudge (FVector2D InNudge)
 Sets the offset for this slot's content by some amount; positive values offset to lower right.
void SetRow (int InRow)
 Sets the row index of the slot, this determines what cell the slot is in the panel.
void SetRowSpan (int InRowSpan)
 How many rows this this slot spans over.
void SetVerticalAlignment (EVerticalAlignment InVerticalAlignment)

Additional Inherited Members

Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Detailed Description

A slot for UGridPanel, these slots all share the same size as the largest slot in the grid.

Member Function Documentation

◆ GetColumn()

const int & GetColumn ( ) const

The column index of the cell this slot is in.

◆ GetColumnSpan()

const int & GetColumnSpan ( ) const

◆ GetHorizontalAlignment()

const EHorizontalAlignment & GetHorizontalAlignment ( ) const

The alignment of the object horizontally.

◆ GetLayer()

const int & GetLayer ( ) const

Positive values offset this cell to be hit-tested and drawn on top of others. Default is 0; i.e. no offset.

◆ GetNudge()

const FVector2D & GetNudge ( ) const

Offset this slot's content by some amount; positive values offset to lower right.

◆ GetPadding()

const FMargin & GetPadding ( ) const

The padding area between the slot and the content it contains.

◆ GetRow()

const int & GetRow ( ) const

The row index of the cell this slot is in.

◆ GetRowSpan()

const int & GetRowSpan ( ) const

◆ GetVerticalAlignment()

const EVerticalAlignment & GetVerticalAlignment ( ) const

The alignment of the object vertically.

◆ SetColumn()

void SetColumn ( int InColumn)

Sets the column index of the slot, this determines what cell the slot is in the panel.

◆ SetColumnSpan()

void SetColumnSpan ( int InColumnSpan)

How many columns this slot spans over.

◆ SetHorizontalAlignment()

void SetHorizontalAlignment ( EHorizontalAlignment InHorizontalAlignment)

◆ SetLayer()

void SetLayer ( int InLayer)

Sets positive values offset this cell to be hit-tested and drawn on top of others.

◆ SetNudge()

void SetNudge ( FVector2D InNudge)

Sets the offset for this slot's content by some amount; positive values offset to lower right.

◆ SetPadding()

void SetPadding ( FMargin InPadding)

◆ SetRow()

void SetRow ( int InRow)

Sets the row index of the slot, this determines what cell the slot is in the panel.

◆ SetRowSpan()

void SetRowSpan ( int InRowSpan)

How many rows this this slot spans over.

◆ SetVerticalAlignment()

void SetVerticalAlignment ( EVerticalAlignment InVerticalAlignment)

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ Column

int Column

The column index of the cell this slot is in.

◆ ColumnSpan

int ColumnSpan

◆ HorizontalAlignment

EHorizontalAlignment HorizontalAlignment

The alignment of the object horizontally.

◆ Layer

int Layer

Positive values offset this cell to be hit-tested and drawn on top of others. Default is 0; i.e. no offset.

◆ Nudge

FVector2D Nudge

Offset this slot's content by some amount; positive values offset to lower right.

◆ Padding

FMargin Padding

The padding area between the slot and the content it contains.

◆ Row

int Row

The row index of the cell this slot is in.

◆ RowSpan

int RowSpan

◆ VerticalAlignment

EVerticalAlignment VerticalAlignment

The alignment of the object vertically.