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

Method material_set_id

StereoKit/Native/NativeAPI.cs:244–244  ·  view source on GitHub ↗
(IntPtr material, string id)

Source from the content-addressed store, hash-verified

242 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_copy (IntPtr material);
243 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_copy_id (string id);
244 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_id (IntPtr material, string id);
245 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_get_id (IntPtr material);
246 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_release (IntPtr material);
247 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_transparency(IntPtr material, Transparency mode);

Callers 4

ModelMethod · 0.80
FromMeshMethod · 0.80
MaterialClass · 0.80
MaterialMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected