Scripting API

TextElement

class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from BindableElement

10 of 16 of Unity's membersUnity's documentation
In Tassix

An element that shows text in its style's font, size, color and alignment.

Constructors 1

Fields 1

static readonly string ussClassName

Properties 6

bool displayTooltipWhenElided { get; set; }
bool emojiFallbackSupport { get; set; }
bool enableRichText { get; set; }
bool isElided { get; }
bool parseEscapeSequences { get; set; }
virtual string text { get; set; }

Methods 2

Vector2 MeasureTextSize(string textToMeasure, float width, MeasureMode widthMode, float height, MeasureMode heightMode)
void SetValueWithoutNotify(string newValue)

Not in Tassix yet 6

DoMeasure MarkDirtyText PostProcessTextVertices experimental selectableUssClassName selection