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

Method mesh_gen_plane

StereoKit/Native/NativeAPI.cs:161–161  ·  view source on GitHub ↗
(Vec2 dimensions, Vec3 plane_normal, Vec3 plane_top_direction, int subdivisions, [MarshalAs(UnmanagedType.Bool)] bool double_sided)

Source from the content-addressed store, hash-verified

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);
163 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr mesh_gen_cube (Vec3 dimensions, int subdivisions = 0);
164 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr mesh_gen_sphere (float diameter, int subdivisions = 4);

Callers 1

GeneratePlaneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected