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

Method mesh_set_data

StereoKit/Native/NativeAPI.cs:144–144  ·  view source on GitHub ↗
(IntPtr mesh, [In] Vertex[] vertices, int vertex_count, [In] uint[] indices, int index_count, [MarshalAs(UnmanagedType.Bool)] bool calculate_bounds)

Source from the content-addressed store, hash-verified

142 [return: MarshalAs(UnmanagedType.Bool)]
143 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool mesh_get_keep_data (IntPtr mesh);
144 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void mesh_set_data (IntPtr mesh, [In] Vertex[] vertices, int vertex_count, [In] uint[] indices, int index_count, [MarshalAs(UnmanagedType.Bool)] bool calculate_bounds);
145 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void mesh_set_verts (IntPtr mesh, [In] Vertex[] vertices, int vertex_count, [MarshalAs(UnmanagedType.Bool)] bool calculate_bounds);
146 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void mesh_get_verts (IntPtr mesh, out IntPtr out_vertices, out int out_vertex_count, Memory reference_mode);
147 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int mesh_get_vert_count (IntPtr mesh);

Callers 1

SetDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected