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

Method model_add_subset

StereoKit/Native/NativeAPI.cs:358–358  ·  view source on GitHub ↗
(IntPtr model, IntPtr mesh, IntPtr material, in Matrix transform)

Source from the content-addressed store, hash-verified

356 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_set_transform (IntPtr model, int subset, in Matrix transform);
357 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_remove_subset (IntPtr model, int subset);
358 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int model_add_subset (IntPtr model, IntPtr mesh, IntPtr material, in Matrix transform);
359 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int model_add_named_subset (IntPtr model, string name, IntPtr mesh, IntPtr material, in Matrix transform);
360 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int model_subset_count (IntPtr model);
361 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_recalculate_bounds(IntPtr model);

Callers 1

AddSubsetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected