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

Method text_size_16

StereoKit/Native/NativeAPI.cs:315–315  ·  view source on GitHub ↗
(string text, TextStyle style)

Source from the content-addressed store, hash-verified

313 [DllImport(dll, CharSet = CharSet.Unicode, CallingConvention = call)] public static extern void text_add_at_16 (string text, in Matrix transform, TextStyle style, TextAlign position, TextAlign align, float off_x, float off_y, float off_z, Color vertex_tint_linear);
314 [DllImport(dll, CharSet = CharSet.Unicode, CallingConvention = call)] public static extern float text_add_in_16 (string text, in Matrix transform, Vec2 size, TextFit fit, TextStyle style, TextAlign position, TextAlign align, float off_x, float off_y, float off_z, Color vertex_tint_linear);
315 [DllImport(dll, CharSet = CharSet.Unicode, CallingConvention = call)] public static extern Vec2 text_size_16 (string text, TextStyle style);
316
317 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr text_style_get_material (TextStyle style);
318 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern float text_style_get_char_height(TextStyle style);

Callers 1

SizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected