s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Classes
TextRenderer
chevron_left
Classes
class
TextRenderer
Constructors
functions
TextRenderer
Properties
data_object
Billboard
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
13
Billboard
BillboardMode
Controls how the text orients itself toward the camera.
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.