| IMediaView
|
Module |
|
Header |
/Engine/Source/Runtime/Media/Public/IMediaView.h |
Include |
#include "IMediaView.h" |
class IMediaView
Interface for a media player's viewing settings.
This interface is used to control viewing parameters in media players that support 360-degree or stereoscopic video output, or spatial audio output. There are currently three sets of configurable parameters: view, view focus and user settings.
The view is the area that the user is looking at. Media players may use it to optimize the decoding of the media, i.e. only decode the sub-section of the video that is actually visible.
The view focus is an optional area that allows for specifying which area the user is or should be focusing on. Media players may use it for foveated video rendering or for making the focused area more audible.
The user settings can be used by media players to customize the generated audio or video output for specific users.
Name | Description | |
---|---|---|
|
~IMediaView() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
GetViewField ( |
Get the field of view. |
|
|
GetViewOrientation ( |
Get the view's orientation. |
|
|
IsViewFocusEnabled() |
Whether the view focus is enabled. |
|
|
SetInteroccularDistance ( |
Set the inter-ocular distance. |
|
|
SetViewField ( |
Set the field of view. |
|
|
SetViewFocusEnabled ( |
Enable or disable view focus. |
|
|
SetViewFocusField ( |
Set the view's focused field of view. |
|
|
SetViewFocusOffImportance ( |
Set the importance of the area that is not in focus. |
|
|
SetViewFocusOrientation ( |
Set the view's focused orientation. |
|
|
SetViewOrientation |
Set the view's orientation. |