17 lines
601 B
C#
17 lines
601 B
C#
using System.Windows.Media;
|
|
|
|
namespace ytLive.Models;
|
|
|
|
/// <summary>
|
|
/// A scene's usage of the app-wide webcam — conceptually `webcam.{scene}.config`.
|
|
/// The identity lives once on the <see cref="Webcam"/> entity; this object is that
|
|
/// scene's placement, clip/mirror, border, and visibility for it. Exists only in
|
|
/// scenes where the creator added the webcam.
|
|
/// </summary>
|
|
public class WebcamSceneConfig : SceneElement
|
|
{
|
|
public string WebcamId { get; init; } = string.Empty;
|
|
public override bool IsWebcam => true;
|
|
public override ImageSource? DisplaySource => VideoImageSource;
|
|
}
|