MediaPlaybackSphericalVideoProjection.ViewOrientation 属性

定义

获取或设置一个四元数,该四元数指定用于投影球面视频的当前视图方向。

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

属性值

Quaternion Quaternion

quaternion

当前视图方向。

注解

除非为关联的媒体项引发 MediaPlayer.MediaOpened 事件,否则无法保证此属性的值正确。

适用于