s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
TextRenderer
chevron_left Classes
class
TextRenderer

Constructors

functionsTextRenderer

Properties

data_objectBlendModedata_objectColordata_objectComponentVersiondata_objectFogStrengthdata_objectFontFamilydata_objectFontSizedata_objectFontWeightdata_objectHorizontalAlignmentdata_objectScaledata_objectTextdata_objectTextScopedata_objectVerticalAlignment
TextRenderer
Renders text in the world
class Sandbox .account_tree extends Renderer
sealedSandbox.Engine

build Constructors 1

TextRenderer ()

data_object Properties 12

BlendMode
BlendMode
The blend mode of the text. This determines how the text is rendered over the world.
Color
Color
The color of the text from the TextScope.
ComponentVersion
int
FogStrength
float
The strength of the fog effect applied to the text. This determines how much the text blends with any fog in the scene.
FontFamily
string
FontSize
float
The font size of the text from the TextScope. This is different from the Scale, which determines how large the text appears in the world.
FontWeight
int
HorizontalAlignment
HAlignment
The horizontal alignment of the text in the world.
Scale
float
The size of the text in the world. This is different from the font size, which is defined in the TextScope and determines resolution of the rendered text.
Text
string
TextScope
Scope
The text scope defines what text to render and it's visual properties (such as font, color, outline, etc.)
VerticalAlignment
VAlignment
The vertical alignment of the text in the world.

Inheritance

Component
Renderer
TextRenderer
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter