MediaPlaybackSphericalVideoProjection.ViewOrientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.