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

Method sh_add

StereoKit/Native/NativeAPI.cs:128–128  ·  view source on GitHub ↗
(ref SphericalHarmonics harmonics, Vec3 light_dir, Vec3 light_color)

Source from the content-addressed store, hash-verified

126 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern SphericalHarmonics sh_create ([In] SHLight[] lights, int light_count);
127 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sh_brightness (ref SphericalHarmonics harmonics, float scale);
128 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sh_add (ref SphericalHarmonics harmonics, Vec3 light_dir, Vec3 light_color);
129 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Color sh_lookup (in SphericalHarmonics harmonics, Vec3 normal);
130 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec3 sh_dominant_dir(in SphericalHarmonics harmonics);
131

Callers 1

AddMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected