UMediaPlayer::GetViewRotation

Get the current view rotation (only for 360 videos).

Windows
MacOS
Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h

Include

#include "MediaPlayer.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp

Syntax

FRotator GetViewRotation() const

Remarks

Get the current view rotation (only for 360 videos).

Returns

View rotation, or zero rotator if not available.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss