Constructor CanvasVideoSettings
- Namespace
- OBSStudioClient.Classes
- Assembly
- OBSClient.dll
CanvasVideoSettings(float?, float?, int?, int?, int?, int?)
Provides the video settings of a Canvas.
[JsonConstructor]
public CanvasVideoSettings(float? fpsNumerator, float? fpsDenominator, int? baseWidth, int? baseHeight, int? outputWidth, int? outputHeight)
Parameters
fpsNumeratorfloat?The numerator of the fractional frames per second value.
fpsDenominatorfloat?The denominator of the fractional frames per second value.
baseWidthint?The width of the base (canvas) resolution in pixels.
baseHeightint?The height of the base (canvas) resolution in pixels.
outputWidthint?The width of the output resolution in pixels.
outputHeightint?The height of the output resolution in pixels.
Remarks
Initializes a new instance of the CanvasVideoSettings class. All fields are null when the canvas currently has no video information available.