VideoEffectDefinition 类

定义

表示视频效果定义。

public ref class VideoEffectDefinition sealed : IVideoEffectDefinition
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Effects.IVideoEffectDefinitionFactory, 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 VideoEffectDefinition 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(Windows.Media.Effects.IVideoEffectDefinitionFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class VideoEffectDefinition final : IVideoEffectDefinition
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Effects.IVideoEffectDefinitionFactory), 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 VideoEffectDefinition : 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(typeof(Windows.Media.Effects.IVideoEffectDefinitionFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VideoEffectDefinition : IVideoEffectDefinition
function VideoEffectDefinition(activatableClassId, props)
Public NotInheritable Class VideoEffectDefinition
Implements IVideoEffectDefinition
继承
Object Platform::Object IInspectable VideoEffectDefinition
属性
实现

Windows 要求

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

构造函数

VideoEffectDefinition(String)

使用指定的可激活类 ID 创建新的 VideoEffectDefinition 对象。

VideoEffectDefinition(String, IPropertySet)

使用指定的可激活类 ID 创建新的 VideoEffectDefinition 对象,并使用指定的设置配置对象。

属性

ActivatableClassId

获取视频效果定义的可激活类 ID。

Properties

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

适用于

另请参阅