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

Method mesh_get_triangle

StereoKit/Native/NativeAPI.cs:158–159  ·  view source on GitHub ↗
(IntPtr mesh, uint triangle_index, out Vertex a, out Vertex b, out Vertex c)

Source from the content-addressed store, hash-verified

156 [return: MarshalAs(UnmanagedType.Bool)]
157 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool mesh_ray_intersect (IntPtr mesh, Ray model_space_ray, out Ray out_pt, out uint out_start_inds, Cull cull_mode);
158 [return: MarshalAs(UnmanagedType.Bool)]
159 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool mesh_get_triangle (IntPtr mesh, uint triangle_index, out Vertex a, out Vertex b, out Vertex c);
160
161 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr mesh_gen_plane (Vec2 dimensions, Vec3 plane_normal, Vec3 plane_top_direction, int subdivisions, [MarshalAs(UnmanagedType.Bool)] bool double_sided);
162 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr mesh_gen_circle (float diameter, Vec3 plane_normal, Vec3 plane_top_direction, int spokes, [MarshalAs(UnmanagedType.Bool)] bool double_sided);

Callers 1

GetTriangleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected