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

Method material_get_color

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

Source from the content-addressed store, hash-verified

279 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool material_set_texture (IntPtr material, string name, IntPtr value);
280 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern float material_get_float (IntPtr material, string name);
281 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Color material_get_color (IntPtr material, string name);
282 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec4 material_get_vector4 (IntPtr material, string name);
283 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec3 material_get_vector3 (IntPtr material, string name);
284 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec2 material_get_vector2 (IntPtr material, string name);

Callers 1

GetColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected