Dela via


MediaPlaybackSphericalVideoProjection.ViewOrientation Property

Definition

Gets or sets a quaternion that specifies the current view orientation used to project spherical video.

public:
 property quaternion ViewOrientation { quaternion get(); void set(quaternion value); };
quaternion ViewOrientation();

void ViewOrientation(quaternion value);
public Quaternion ViewOrientation { get; set; }
var quaternion = mediaPlaybackSphericalVideoProjection.viewOrientation;
mediaPlaybackSphericalVideoProjection.viewOrientation = quaternion;
Public Property ViewOrientation As Quaternion

Property Value

Quaternion Quaternion

quaternion

The current view orientation.

Remarks

The value of this property is not guaranteed to be correct until after the MediaPlayer.MediaOpened event has been raised for the associated media item.

Applies to