UMediaTexture::GetCurrentAspectRatio

Get current aspect ratio of presented frame.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

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

Include

#include "MediaTexture.h"

Source

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

Syntax

float GetCurrentAspectRatio() const

Remarks

Get current aspect ratio of presented frame.

Returns

Aspect ratio of current frame

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