UMediaPlayer::SetViewRotation

Set the view's 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

bool SetViewRotation
(
    const FRotator & Rotation,
    bool Absolute
)

Remarks

Set the view's rotation (only for 360 videos).

Returns

true on success, false otherwise.

Parameters

Parameter

Description

Rotation

The desired view rotation.

Whether

the rotation change should be absolute (true) or relative (false).

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