s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
TextRenderer
chevron_left
Classes
class
TextRenderer
search
Constructors
functions
TextRenderer
Properties
data_object
BlendMode
data_object
Color
data_object
ComponentVersion
data_object
FogStrength
data_object
FontFamily
data_object
FontSize
data_object
FontWeight
data_object
HorizontalAlignment
data_object
Scale
data_object
Text
data_object
TextScope
data_object
VerticalAlignment
TextRenderer
Renders text in the world
class
Sandbox
.
account_tree
extends
Renderer
sealed
Sandbox.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.