TASK 51 slice 5: webcam Background section in the Layers properties — Remove/Blur PillToggles (radio-exclusive) + Strength slider; strength changes never blank the webcam (new variant inherits the same-effect frame + bitmap). TASK 51 built (Unit: bg-effects UI)
This commit is contained in:
@@ -26,9 +26,13 @@ public class WebcamSceneConfig : SceneElement
|
||||
if (!Set(ref _backgroundEffect, value)) return;
|
||||
Raise(nameof(RemoveBackground));
|
||||
Raise(nameof(BlurBackground));
|
||||
Raise(nameof(HasBackgroundEffect));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>True while Remove or Blur is on — shows the strength slider.</summary>
|
||||
public bool HasBackgroundEffect => BackgroundEffect != BackgroundEffect.None;
|
||||
|
||||
private double _backgroundStrength = 0.5;
|
||||
/// <summary>TASK 51: 0..1 — Blur amount, or Remove's edge softness (persisted).</summary>
|
||||
public double BackgroundStrength
|
||||
|
||||
Reference in New Issue
Block a user