public sealed class Sandbox.TextRenderer : Sandbox.Renderer
Renders text in the world
Constructors
Showing 1 constructors
public TextRenderer()
No results match this filter.
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 Color Sandbox.TextRenderer.Color { get; set; }
The color of the text from the TextScope.
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 string Sandbox.TextRenderer.FontFamily { get; set; }
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 int Sandbox.TextRenderer.FontWeight { get; set; }
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 string Sandbox.TextRenderer.Text { get; set; }
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.TextRenderer |