I have a Blueprint which controls a movie using Media Player via Play, Pause, etc. I pass the Media Player into the Blueprint as an Input Variable, and then use it, eg.
MediaPlayerAsset->Play
For what I’m trying to do, I would rather pass in a Shape Component and have the Blueprint extract the Media Player to use from the Material, but I can’t see a way to do it. I would think it would be something like
ShapeComponent->GetMaterial->GetMediaTexture->GetMediaPlayer->Play
Any ideas?
Cheers!