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

Method model_set_transform

StereoKit/Native/NativeAPI.cs:356–356  ·  view source on GitHub ↗
(IntPtr model, int subset, in Matrix transform)

Source from the content-addressed store, hash-verified

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);
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);

Callers 1

SetTransformMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected