I´m working in a blueprint that changes dynamically the video texture of a Static Mesh. All the videos have different resolutions and I need to rescale the static mesh to conserve the video original aspect ratio.
There is any way to get the original resolution of this videos (from the Media Player or the Media Texture) in blueprints? If you look in the Media Texture you can find these:
You’re right, there’s currently no way to get this information in Blueprint, neither via UTexture nor via UMediaTexture.
I’m going to add BP functions like the ones in UTexture2D, and I will also add a delegate that will notify you if the media texture dimensions changed, so you don’t have to poll each tick. This won’t make it into 4.14, however, because we already branched.