Get Video Track Aspect Ratio

Get Video Track Aspect Ratio

Windows
MacOS
Linux

Get the aspect ratio of the specified video track.

Target is Media Player

Get Video Track Aspect Ratio
Target
Select Asset
Track Index
0
Format Index
0
Return Value
0.0

Inputs

Target
Media Player Object Reference
Track Index
Integer

Index of the video track, or INDEX_NONE for the selected one.

Format Index
Integer

Index of the track format, or INDEX_NONE for the selected one.

Outputs

Return Value
Float

Aspect ratio.

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