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

Method sprite_draw_at

StereoKit/Native/NativeAPI.cs:430–430  ·  view source on GitHub ↗
(IntPtr sprite, Matrix transform, TextAlign position, Color32 color)

Source from the content-addressed store, hash-verified

428 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern float sprite_get_aspect (IntPtr sprite);
429 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sprite_draw (IntPtr sprite, in Matrix transform, Color32 color);
430 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sprite_draw_at (IntPtr sprite, Matrix transform, TextAlign position, Color32 color);
431 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int sprite_get_width (IntPtr sprite);
432 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int sprite_get_height (IntPtr sprite);
433 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec2 sprite_get_dimensions_normalized(IntPtr sprite);

Callers 1

DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected