s&box docs

public sealed class Sandbox.TextRenderer : Sandbox.Renderer

Renders text in the world

Constructors

Showing 1 constructors

Properties

Showing 12 properties

public Sandbox.BlendMode Sandbox.TextRenderer.BlendMode { get; set; }

The blend mode of the text. This determines how the text is rendered over the world.

public virtual int Sandbox.TextRenderer.ComponentVersion { get; set; }

public float Sandbox.TextRenderer.FogStrength { get; set; }

The strength of the fog effect applied to the text. This determines how much the text blends with any fog in the scene.

public float Sandbox.TextRenderer.FontSize { get; set; }

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.

public Sandbox.TextRenderer.HAlignment Sandbox.TextRenderer.HorizontalAlignment { get; set; }

The horizontal alignment of the text in the world.

public float Sandbox.TextRenderer.Scale { get; set; }

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.

public Sandbox.TextRendering.Scope Sandbox.TextRenderer.TextScope { get; set; }

The text scope defines what text to render and it's visual properties (such as font, color, outline, etc.)

public Sandbox.TextRenderer.VAlignment Sandbox.TextRenderer.VerticalAlignment { get; set; }

The vertical alignment of the text in the world.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.TextRenderer

On this page