Class VirtualVideoSourceSettings
Virtual video source settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class VirtualVideoSourceSettings : IMediaPlayerBaseSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings
Constructors
VirtualVideoSourceSettings()
Initializes a new instance of the VirtualVideoSourceSettings class.
Declaration
public VirtualVideoSourceSettings()
VirtualVideoSourceSettings(int, int, VideoFrameRate)
Initializes a new instance of the VirtualVideoSourceSettings class.
Declaration
public VirtualVideoSourceSettings(int width, int height, VideoFrameRate frameRate)
Parameters
Type | Name | Description |
---|---|---|
int | width | The width. |
int | height | The height. |
VideoFrameRate | frameRate | The frame rate. |
Properties
ForegroundColor
Gets or sets the color of the foreground.
Declaration
public SKColor ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
SKColor | The color of the foreground. |
Format
Gets or sets the format.
Declaration
public VideoFormatX Format { get; set; }
Property Value
Type | Description |
---|---|
VideoFormatX | The format. |
FrameRate
Gets or sets the frame rate.
Declaration
public VideoFrameRate FrameRate { get; set; }
Property Value
Type | Description |
---|---|
VideoFrameRate | The frame rate. |
Height
Gets or sets the height.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
int | The height. |
Pattern
Gets or sets the pattern.
Declaration
public VirtualVideoSourcePattern Pattern { get; set; }
Property Value
Type | Description |
---|---|
VirtualVideoSourcePattern | The pattern. |
Width
Gets or sets the width.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int | The width. |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
ReadInfoAsync()
Reads the information asynchronous.
Declaration
public Task<MediaFileInfo> ReadInfoAsync()
Returns
Type | Description |
---|---|
Task<MediaFileInfo> | Task<MediaFileInfo>. |