Class VideoRendererVideoAdjustRanges
- Namespace
- VisioForge.Core.Types
- Assembly
- VisioForge.Core.dll
Defines the valid range and step for video renderer adjustment properties like brightness, contrast, hue, and saturation.
public class VideoRendererVideoAdjustRangesInheritance
Inherited Members
Examples
// Example: Define the range for brightness adjustment
var brightnessRange = new VideoRendererVideoAdjustRanges
{
Min = -100,
Max = 100,
Default = 0,
Step = 1
};
// Example: Define the range for contrast adjustment
var contrastRange = new VideoRendererVideoAdjustRanges
{
Min = 0.5f,
Max = 2.0f,
Default = 1.0f,
Step = 0.1f
};
Remarks
This class provides metadata for UI controls that allow users to modify video rendering parameters. It specifies the minimum, maximum, default, and incremental step values for each adjustment.
Properties
Default
Gets or sets the default value for the video adjustment.
public float Default { get; set; }Property Value
Max
Gets or sets the maximum allowable value for the video adjustment.
public float Max { get; set; }Property Value
Min
Gets or sets the minimum allowable value for the video adjustment.
public float Min { get; set; }Property Value
Step
Gets or sets the step increment for the video adjustment.
public float Step { get; set; }