/// <summary> /// Constructs a new bloom settings descriptor. /// </summary> public BloomSettings(BloomState name, float bloomThreshold, float blurAmount, float bloomIntensity, float baseIntensity, float bloomSaturation, float baseSaturation) { Name = name; BloomThreshold = bloomThreshold; BlurAmount = blurAmount; BloomIntensity = bloomIntensity; BaseIntensity = baseIntensity; BloomSaturation = bloomSaturation; BaseSaturation = baseSaturation; }
/// <summary> /// Creates a new instance of audio config. /// </summary> internal BloomConfig() { // set the defaults. this.Enabled = false; this.State = BloomState.Default; }
/// <summary> /// Sets bloom mode. /// </summary> /// <param name="state"><see cref="BloomState"/></param> public void SetMode(BloomState state) { this.State = state; }