CGameManialinkLabel

Trackmania Next API


CGameManialinkLabel

ID 0x030FB000
Uninstantiable

Inherits from Game::CGameManialinkControl → MwFoundations::CMwNod

Manialink entry.

Methods

void SetText(wstring NewText)

float ComputeWidth(wstring Text)

float ComputeWidth2(wstring Text, bool Translated)

float ComputeHeight(wstring Text)

void TTS_Focus()

void TTS_Unfocus()

Members

string Style

string Substyle

wstring TextFont

wstring Value

const uint ValueLineCount

int MaxLine

float LineSpacing

float ItalicSlope

bool AppendEllipsis

bool AutoNewLine

float Opacity

wstring TextPrefix

vec3 TextColor

float TextSizeReal

uint TextSize

CGameManialinkLabel::EBlendMode Blend

EBlendMode::Default
EBlendMode::Add

wstring TTS_AltText

bool TTS_AltText_Translate

CGameManialinkLabel::EFilterProfanities FilterProfanities

EFilterProfanities::Never
EFilterProfanities::OnlyIfNotTranslated
EFilterProfanities::Always
Inherited methods CGameManialinkControl

bool HasClass(string Class)

bool DataAttributeExists(string DataName)

string DataAttributeGet(string DataName)

void DataAttributeSet(string DataName, string DataValue)

void Show()

void Hide()

void Unload()

void Focus()

void ScriptEvents_Disable()

void ScriptEvents_Restore()

Inherited members CGameManialinkControl

const CControlBase@ Control

const CGameManialinkFrame@ Parent

const string ControlId

const MwSArray<string> ControlClasses

vec2 Size

CGameManialinkControl::EAlignHorizontal HorizontalAlign

EAlignHorizontal::Left
EAlignHorizontal::HCenter
EAlignHorizontal::Right
EAlignHorizontal::None

CGameManialinkControl::EAlignVertical VerticalAlign

EAlignVertical::Top
EAlignVertical::VCenter
EAlignVertical::Bottom
EAlignVertical::None
EAlignVertical::VCenter2

bool Visible

vec2 RelativePosition_V3

float ZIndex

float RelativeScale

float RelativeRotation

const vec2 AbsolutePosition_V3

const vec3 AbsolutePosition

const float AbsoluteScale

const float AbsoluteRotation

wstring ToolTip

const bool IsFocused

vec3 RelativePosition

float PosnX

float PosnY

float PosnZ

float Scale

Inherited members CMwNod

string IdName

const MwId Id

Enums

EBlendMode

EBlendMode::Default
EBlendMode::Add

EFilterProfanities

EFilterProfanities::Never
EFilterProfanities::OnlyIfNotTranslated
EFilterProfanities::Always

Documentation from build 2023-11-15 11:56:02
(Page rendering: 0.06 seconds, 15.83 MB)