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

Method text_make_style

StereoKit/Native/NativeAPI.cs:310–310  ·  view source on GitHub ↗
(IntPtr font, float character_height, Color color)

Source from the content-addressed store, hash-verified

308 ///////////////////////////////////////////
309
310 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern TextStyle text_make_style (IntPtr font, float character_height, Color color);
311 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern TextStyle text_make_style_shader(IntPtr font, float character_height, IntPtr shader, Color color);
312 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern TextStyle text_make_style_mat (IntPtr font, float character_height, IntPtr material, Color color);
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);

Callers 2

FromFontMethod · 0.80
MakeStyleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected