G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FColor Struct Reference

Stores a color with 8 bits of precision per channel. (BGRA). @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Color.h. More...

Public Member Functions

Functions
FString ToString () const
void opAddAssign (FColor ColorB)
FString ToHex () const
bool InitFromString (FString SourceString)
FLinearColor FromRGBE () const
FLinearColor ReinterpretAsLinear () const
bool opEquals (FColor ColorB) const
FColor & opAssign (FColor Other)

Static Public Member Functions

Static Functions
static FColor MakeRandomColor ()
static FColor MakeRedToGreenColorFromScalar (float32 Scalar)
static FColor MakeFromColorTemperature (float32 Temp)
static FColor FromHex (FString HexString)

Public Attributes

Color
uint8 G
uint8 R
uint8 A
uint8 B

Static Public Attributes

Static Variables
static FColor White
static FColor Black
static FColor Transparent
static FColor Red
static FColor Green
static FColor Blue
static FColor Yellow
static FColor Cyan
static FColor Magenta
static FColor Orange
static FColor Purple
static FColor Turquoise
static FColor Silver
static FColor Emerald

Detailed Description

Stores a color with 8 bits of precision per channel. (BGRA). @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Color.h.

Member Function Documentation

◆ FromHex()

FColor FromHex ( FString HexString)
static

◆ FromRGBE()

FLinearColor FromRGBE ( ) const

◆ InitFromString()

bool InitFromString ( FString SourceString)

◆ MakeFromColorTemperature()

FColor MakeFromColorTemperature ( float32 Temp)
static

◆ MakeRandomColor()

FColor MakeRandomColor ( )
static

◆ MakeRedToGreenColorFromScalar()

FColor MakeRedToGreenColorFromScalar ( float32 Scalar)
static

◆ opAddAssign()

void opAddAssign ( FColor ColorB)

◆ opAssign()

FColor & opAssign ( FColor Other)

◆ opEquals()

bool opEquals ( FColor ColorB) const

◆ ReinterpretAsLinear()

FLinearColor ReinterpretAsLinear ( ) const

◆ ToHex()

FString ToHex ( ) const

◆ ToString()

FString ToString ( ) const

Member Data Documentation

◆ A

uint8 A

◆ B

uint8 B

◆ Black

FColor Black
static

◆ Blue

FColor Blue
static

◆ Cyan

FColor Cyan
static

◆ Emerald

FColor Emerald
static

◆ G

uint8 G

◆ Green

FColor Green
static

◆ Magenta

FColor Magenta
static

◆ Orange

FColor Orange
static

◆ Purple

FColor Purple
static

◆ R

uint8 R

◆ Red

FColor Red
static

◆ Silver

FColor Silver
static

◆ Transparent

FColor Transparent
static

◆ Turquoise

FColor Turquoise
static

◆ White

FColor White
static

◆ Yellow

FColor Yellow
static