Edit

Share via


IMFVideoProcessorControl3::SetSphericalVideoProperties method (mfidl.h)

When rendering spherical video (360 video) this sets the view direction of the camera. X,Y,Z,W are the components of the camera's view direction quaternion.

Syntax

HRESULT SetSphericalVideoProperties(
  [in] float X,
  [in] float Y,
  [in] float Z,
  [in] float W,
  [in] float fieldOfView
);

Parameters

[in] X

The X component of view direction quaternion.

[in] Y

The Y component of view direction quaternion.

[in] Z

The Z component of view direction quaternion.

[in] W

The W component of view direction quaternion.

[in] fieldOfView

A DWORD specifying the field of view, in degrees.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10 version 1803
Minimum supported server Windows Server version 1803
Header mfidl.h