Interface for a media player's viewing settings. 更多...
#include <IMediaView.h>
Public 成员函数 | |
| virtual bool | GetViewField (float &OutHorizontal, float &OutVertical) const |
| Get the field of view. 更多... | |
| virtual bool | GetViewOrientation (FQuat &OutOrientation) const |
| Get the view's orientation. 更多... | |
| virtual bool | IsViewFocusEnabled () const |
| Whether the view focus is enabled. 更多... | |
| virtual bool | SetInteroccularDistance (float Distance) |
| Set the inter-ocular distance. 更多... | |
| virtual bool | SetViewField (float Horizontal, float Vertical, bool Absolute) |
| Set the field of view. 更多... | |
| virtual bool | SetViewFocusEnabled (bool Enabled) |
| Enable or disable view focus. 更多... | |
| virtual bool | SetViewFocusField (float Horizontal, float Vertical) |
| Set the view's focused field of view. 更多... | |
| virtual bool | SetViewFocusOffImportance (float Importance) |
| Set the importance of the area that is not in focus. 更多... | |
| virtual bool | SetViewFocusOrientation (const FQuat &Orientation) |
| Set the view's focused orientation. 更多... | |
| virtual bool | SetViewOrientation (const FQuat &Orientation, bool Absolute) |
| Set the view's orientation. 更多... | |
| virtual | ~IMediaView () |
| Virtual destructor. | |
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.
|
inlinevirtual |
Get the field of view.
| OutHorizontal | Will contain the horizontal field of view. |
| OutVertical | Will contain the vertical field of view. |
|
inlinevirtual |
Get the view's orientation.
| OutOrientation | Will contain the view orientation. |
|
inlinevirtual |
Whether the view focus is enabled.
|
inlinevirtual |
Set the inter-ocular distance.
| Distance | The inter-ocular distance (in centimeters). |
|
inlinevirtual |
Set the field of view.
| Horizontal | Horizontal field of view (in Euler degrees). |
| Vertical | Vertical field of view (in Euler degrees). |
| Whether | the field of view change should be absolute (true) or relative (false). |
|
inlinevirtual |
Enable or disable view focus.
| Enabled | true to enable, false to disable. |
|
inlinevirtual |
Set the view's focused field of view.
| Horizontal | Horizontal field of view (in Euler degrees). |
| Vertical | Vertical field of view (in Euler degrees). |
|
inlinevirtual |
Set the importance of the area that is not in focus.
| Importance | Off-area importance (0.0 = no importance, 1.0 = important). |
|
inlinevirtual |
Set the view's focused orientation.
| Orientation | Quaternion representing the viewer's orientation. |
|
inlinevirtual |
Set the view's orientation.
| Orientation | Quaternion representing the orientation. |
| Whether | the orientation change should be absolute (true) or relative (false). |