Udostępnij za pośrednictwem


SceneModeControl Class

Definition

Provides functionality for controlling the scene mode settings on a capture device.

public ref class SceneModeControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class SceneModeControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class SceneModeControl
Public NotInheritable Class SceneModeControl
Inheritance
Object Platform::Object IInspectable SceneModeControl
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

The [SceneModeControl enables apps to tune the post-processing of captured frames to better match the scene being recorded. The SupportedModes enumeration specifies the modes, such as Snow, Night, and Sport, that are supported by the device.

To select a mode, call SceneModeControl.SetValueAsync.

You can access the [SceneModeControl for the capture device through MediaCapture.VideoDeviceController.

Properties

SupportedModes

Gets the scene modes supported on the capture device.

Value

Gets the current scene mod ethe capture device is set to.

Methods

SetValueAsync(CaptureSceneMode)

Asynchronously sets the color temperature Value.

Applies to

See also