SceneAnalysisEffectDefinition 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示場景分析視訊效果的定義。
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
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
備註
將SceneAnalysisEffectDefinition物件傳遞至MediaCapture.AddVideoEffectAsync,以取得SceneAnalysisEffect類別的實例。
如需使用 SceneAnalysisEffect的作法指引,請參閱 MediaCapture 的場景 anlysis。
建構函式
SceneAnalysisEffectDefinition() |
初始化 SceneAnalysisEffectDefinition 類別的新實例。 |
屬性
ActivatableClassId |
取得字串,其中包含場景分析效果定義的可啟用類別識別碼。 |
Properties |
取得設定 SceneAnalysisEffectDefinition 物件的屬性集。 |