private static AddDirectionalLightInternal ( Vector3 direction, Color color, |
||
direction | Vector3 | |
color | Color | |
sh | ||
return | void |
private static void AddDirectionalLightInternal(Vector3 direction, Color color, ref SphericalHarmonicsL2 sh)
{
INTERNAL_CALL_AddDirectionalLightInternal(ref direction, ref color, ref sh);
}
public void AddDirectionalLight(Vector3 direction, Color color, float intensity) { Color color2 = color * (2f * intensity); SphericalHarmonicsL2.AddDirectionalLightInternal(direction, color2, ref this); }