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

Method material_set_color

StereoKit/Native/NativeAPI.cs:264–264  ·  view source on GitHub ↗
(IntPtr material, string name, Color  value)

Source from the content-addressed store, hash-verified

262 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_get_chain (IntPtr material);
263 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_float (IntPtr material, string name, float value);
264 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_color (IntPtr material, string name, Color value);
265 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_vector4 (IntPtr material, string name, Vec4 value);
266 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_vector3 (IntPtr material, string name, Vec3 value);
267 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_vector2 (IntPtr material, string name, Vec2 value);

Callers 1

SetColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected