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

Method text_make_style_mat

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

Source from the content-addressed store, hash-verified

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);
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);

Callers 2

FromFontMethod · 0.80
MakeStyleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected