public void Load(UnityEngine.Rendering.PostProcessing.AutoExposure layer) { if (layer != null) { enabled.Fill(layer.enabled); layer.active = layer.enabled.value; filtering.Fill(layer.filtering); minLuminance.Fill(layer.minLuminance); maxLuminance.Fill(layer.maxLuminance); keyValue.Fill(layer.keyValue); speedUp.Fill(layer.speedUp); speedDown.Fill(layer.speedDown); eyeAdaptation.Fill(layer.eyeAdaptation); } }
public void Load(UnityEngine.Rendering.PostProcessing.Vignette layer) { if (layer != null) { enabled.Fill(layer.enabled); layer.active = layer.enabled.value; mode.Fill(layer.mode); color.Fill(layer.color); center.Fill(layer.center); intensity.Fill(layer.intensity); smoothness.Fill(layer.smoothness); roundness.Fill(layer.roundness); rounded.Fill(layer.rounded); opacity.Fill(layer.opacity); // Load Texture from the Path. // layer.mask.value = mask; } }