MediaPlaybackSphericalVideoProjection.ViewOrientation Property


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

 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


The current view orientation.


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