Sdílet prostřednictvím


Stereo3DVideoPackingMode Enum

Definition

Describes the frame-packing mode for stereo 3-D video content.

public enum class Stereo3DVideoPackingMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class Stereo3DVideoPackingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum Stereo3DVideoPackingMode
Public Enum Stereo3DVideoPackingMode
<object property="enumMemberName"/>
Inheritance
Stereo3DVideoPackingMode
Attributes

Windows requirements

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

Fields

Name Value Description
None 0

Regular 2-D video.

SideBySide 1

Stereo 3-D content packing with components side-by-side.

TopBottom 2

Stereo 3-D content packing with components top and bottom.

Examples

This example creates a MediaElement with Stereo3DVideoPackingMode and Stereo3DVideoRenderMode set.

<MediaElement Stereo3DVideoPackingMode="TopBottom" 
              Stereo3DVideoRenderMode="Stereo"/>

Remarks

The default is to allow the system to determine the packing mode from the metadata of the video content.

In order to reset this value once it has been set, use the ClearValue API.

This API is used in conjunction with Stereo3DVideoRenderMode to display 3-D content.

Returns or sets topbottom or sidebyside for stereo 3-D content packing, or none for regular 2-D video.

Applies to