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

Method sprite_get_aspect

StereoKit/Native/NativeAPI.cs:428–428  ·  view source on GitHub ↗
(IntPtr sprite)

Source from the content-addressed store, hash-verified

426 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sprite_get_id (IntPtr sprite);
427 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sprite_release (IntPtr sprite);
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);

Callers 1

SpriteClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected