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

-— All properties must be EditDefaultsOnly, BlueprintReadOnly !!! --— We return the CDO to blueprints, so we cannot allow any changes (blueprint doesn't support const variables) More...

Public Member Functions

Common Text Style|Getters
void GetColor (FLinearColor &OutColor) const
void GetFont (FSlateFontInfo &OutFont) const
float32 GetLineHeightPercentage () const
void GetMargin (FMargin &OutMargin) const
void GetShadowColor (FLinearColor &OutColor) const
void GetShadowOffset (FVector2D &OutShadowOffset) const
void GetStrikeBrush (FSlateBrush &OutStrikeBrush) const
bool GetApplyLineHeightToBottomLine () const
Functions
void SetFont (FSlateFontInfo Value)
 The font to apply at each size.
void SetColor (FLinearColor Value)
 The color of the text.
void SetShadowOffset (FVector2D Value)
 The offset of the drop shadow at each size.
void SetShadowColor (FLinearColor Value)
 The drop shadow color.
void SetMargin (FMargin Value)
 The amount of blank space left around the edges of text area at each size.
void SetStrikeBrush (FSlateBrush Value)
 The brush used to draw an strike through the text (if any).
void SetLineHeightPercentage (const float32 &Value)
 The amount to scale each lines height by at each size.
void SetApplyLineHeightToBottomLine (const bool &Value)
 Whether to leave extra space below the last line due to line height.
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 UObject
static UClass StaticClass ()

Public Attributes

Properties
bool ApplyLineHeightToBottomLine
 Whether to leave extra space below the last line due to line height.
float32 LineHeightPercentage
 The amount to scale each lines height by at each size.
Shadow
bool bUsesDropShadow
 Whether or not the style uses a drop shadow.
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

-— All properties must be EditDefaultsOnly, BlueprintReadOnly !!! --— We return the CDO to blueprints, so we cannot allow any changes (blueprint doesn't support const variables)

Member Function Documentation

◆ GetApplyLineHeightToBottomLine()

bool GetApplyLineHeightToBottomLine ( ) const

◆ GetColor()

void GetColor ( FLinearColor & OutColor) const

◆ GetFont()

void GetFont ( FSlateFontInfo & OutFont) const

◆ GetLineHeightPercentage()

float32 GetLineHeightPercentage ( ) const

◆ GetMargin()

void GetMargin ( FMargin & OutMargin) const

◆ GetShadowColor()

void GetShadowColor ( FLinearColor & OutColor) const

◆ GetShadowOffset()

void GetShadowOffset ( FVector2D & OutShadowOffset) const

◆ GetStrikeBrush()

void GetStrikeBrush ( FSlateBrush & OutStrikeBrush) const

◆ SetApplyLineHeightToBottomLine()

void SetApplyLineHeightToBottomLine ( const bool & Value)

Whether to leave extra space below the last line due to line height.

◆ SetColor()

void SetColor ( FLinearColor Value)

The color of the text.

◆ SetFont()

void SetFont ( FSlateFontInfo Value)

The font to apply at each size.

◆ SetLineHeightPercentage()

void SetLineHeightPercentage ( const float32 & Value)

The amount to scale each lines height by at each size.

◆ SetMargin()

void SetMargin ( FMargin Value)

The amount of blank space left around the edges of text area at each size.

◆ SetShadowColor()

void SetShadowColor ( FLinearColor Value)

The drop shadow color.

◆ SetShadowOffset()

void SetShadowOffset ( FVector2D Value)

The offset of the drop shadow at each size.

◆ SetStrikeBrush()

void SetStrikeBrush ( FSlateBrush Value)

The brush used to draw an strike through the text (if any).

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ ApplyLineHeightToBottomLine

bool ApplyLineHeightToBottomLine

Whether to leave extra space below the last line due to line height.

◆ bUsesDropShadow

bool bUsesDropShadow

Whether or not the style uses a drop shadow.

◆ LineHeightPercentage

float32 LineHeightPercentage

The amount to scale each lines height by at each size.