Dela via


VideoTransformEffectDefinition Class

Definition

Represents the definition of a video transform effect.

public ref class VideoTransformEffectDefinition sealed
/// [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 VideoTransformEffectDefinition final
/// [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 VideoTransformEffectDefinition final
[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 VideoTransformEffectDefinition
[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 VideoTransformEffectDefinition
function VideoTransformEffectDefinition()
Public NotInheritable Class VideoTransformEffectDefinition
Inheritance
Object Platform::Object IInspectable VideoTransformEffectDefinition
Attributes
Implements

Windows requirements

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

Remarks

Use this class to add transformation effects to a video stream. Supported effects include rotation, mirroring, source clipping, destination mapping, spherical projection, and setting a padding color for areas in the frame that are not filled with input video.

Version history

Windows version SDK version Value added
1803 17134 SphericalProjection

Constructors

VideoTransformEffectDefinition()

Initializes a new instance of the VideoTransformEffectDefinition class.

Properties

ActivatableClassId

Gets the activatable class ID of the video transform effect definition.

CropRectangle

Gets or sets the rectangle within which the video will be cropped, specified in pixels.

Mirror

Gets or sets the direction in which the video will be mirrored.

OutputSize

Gets or sets the output size of the video, in pixels.

PaddingColor

Gets or sets the color that will be used to fill pixels in the frame that are not filled with video, such as when video is letterboxed.

ProcessingAlgorithm

Gets or sets the media processing algorithm that is used for the video transform.

Properties

Gets the set of properties for configuring the VideoTransformEffectDefinition object.

Rotation

Gets or sets the angle and direction in which the video will be rotated.

SphericalProjection

Gets a VideoTransformSphericalProjection object that allows you to configure the spherical projection parameters used by the video transform effect.

Applies to

See also