Skip to content

TextRender

Examples#

local my_text_render = TextRender(
    Vector(-100, 200, 300),
    Rotator(),
    "My Awesome Text",
    Vector(1, 1, 1), -- Scale
    Color(1, 0, 0), -- Red Color
    FontType.OpenSans,
    TextRenderAlignCamera.FaceCamera
)

Info

If you desire your TextRender to be visible through walls, replace it's material with the Default TranslucentDepth one!

SetMaterial("helix::M_Default_Translucent_Lit_Depth").

You can also tweak it's color and other properties using the Material methods.

Nametags

Constructors#

Static Functions#

Functions#

Events#