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

Method model_set_material

StereoKit/Native/NativeAPI.cs:354–354  ·  view source on GitHub ↗
(IntPtr model, int subset, IntPtr material)

Source from the content-addressed store, hash-verified

352 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr model_get_mesh (IntPtr model, int subset);
353 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Matrix model_get_transform (IntPtr model, int subset);
354 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_set_material (IntPtr model, int subset, IntPtr material);
355 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void model_set_mesh (IntPtr model, int subset, IntPtr mesh);
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);

Callers 1

SetMaterialMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected