MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / TextAt

Method TextAt

StereoKit/Systems/UI.cs:474–475  ·  view source on GitHub ↗

Displays a large chunk of text on the current layout. This can include new lines and spaces, and will properly wrap once it fills the entire layout! Text uses the UI's current font settings, which can be changed with UI.Push/PopTextStyle. The text you wish to display, there's no additional parsing done to this text, so put it in as you want to see it!

(string text, TextAlign textAlign, TextFit fit, Vec3 topLeftCorner, Vec2 size)

Source from the content-addressed store, hash-verified

472 /// <param name="size">The layout size for this element in Hierarchy
473 /// space.</param>
474 public static void TextAt(string text, TextAlign textAlign, TextFit fit, Vec3 topLeftCorner, Vec2 size)
475 => NativeAPI.ui_text_at_16(text, textAlign, fit, topLeftCorner, size);
476
477 /// <summary>Adds an image to the UI!</summary>
478 /// <param name="image">A valid sprite.</param>

Callers

nothing calls this directly

Calls 1

ui_text_at_16Method · 0.80

Tested by

no test coverage detected