首页 > 解决方案 > Unreal: How to access image in MediaTexture with C++?

问题描述

I'm currently using unreal read from video and cameras. I got a Media Player and Media Texture alongside with it.

I'm aware that It is possible to read pixels from Texture2D. The problem is mediaTexture is derived from Texture. Thus It cannot be casted to Texture2D. And I have no idea how to get pixel data from it.

Thanks for any reply! C++ and blueprint are both welcomed!

标签: c++texturesunreal-engine4texture2dunreal-blueprint

解决方案


推荐阅读