SceneAnalysisEffectDefinition 类

定义

表示场景分析视频效果的定义。

public ref class SceneAnalysisEffectDefinition sealed : IVideoEffectDefinition
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SceneAnalysisEffectDefinition final : IVideoEffectDefinition
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class SceneAnalysisEffectDefinition final : IVideoEffectDefinition
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SceneAnalysisEffectDefinition : IVideoEffectDefinition
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SceneAnalysisEffectDefinition : IVideoEffectDefinition
function SceneAnalysisEffectDefinition()
Public NotInheritable Class SceneAnalysisEffectDefinition
Implements IVideoEffectDefinition
继承
Object Platform::Object IInspectable SceneAnalysisEffectDefinition
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

通过将 SceneAnalysisEffectDefinition 对象传递到 MediaCapture.AddVideoEffectAsync 来获取 SceneAnalysisEffect 类的实例。

有关使用 SceneAnalysisEffect 的操作指南,请参阅 MediaCapture 的场景裂解

构造函数

SceneAnalysisEffectDefinition()

初始化 SceneAnalysisEffectDefinition 类的新实例。

属性

ActivatableClassId

获取包含场景分析效果定义的可激活类 ID 的字符串。

Properties

获取用于配置 SceneAnalysisEffectDefinition 对象的属性集。

适用于

另请参阅