Table of Contents

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

fpsNumerator float?

The numerator of the fractional frames per second value.

fpsDenominator float?

The denominator of the fractional frames per second value.

baseWidth int?

The width of the base (canvas) resolution in pixels.

baseHeight int?

The height of the base (canvas) resolution in pixels.

outputWidth int?

The width of the output resolution in pixels.

outputHeight int?

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.