Page 1 of 1
UE4 Render Target Material
Posted: 23 Jan 2018, 16:01
by antsonthetree
Hello,
I have a material that is a render target (remote camera, mini-map, etc) that I would like to display in a corner of my Noesis HUD. It looks like I cannot bind xaml Image Source directly to a material or texture in UE4. What is the preferred method for doing this in Noesis and UE4?
Thanks
Jake
Re: UE4 Render Target Material
Posted: 23 Jan 2018, 21:29
by hcpizzi
Hi Jake,
We support Binding both Texture2D and TextureRenderTarget2D properties to be used in Bindings where an ImageSource is required. Take a look at the QuestLog sample. The Quest Blueprint has an Image property that is a Texture2D that is used in a Binding in MainWindow.xaml (look for "{Binding SelectedQuest.Image}".
What does your setup look like?
Re: UE4 Render Target Material
Posted: 24 Jan 2018, 03:33
by antsonthetree
This is really great news! I totally missed the QuestLog example. FYI the list of bindable UE4 datatypes in the doc (
https://github.com/Noesis/UE4Plugin) does not include Texture2D or TextureRenderTarget2D.
Thank you for the info!
Jake
Re: UE4 Render Target Material
Posted: 24 Jan 2018, 07:50
by hcpizzi
You're right. I've just updated the README.
Let us know if you run into any problems.
Re: UE4 Render Target Material
Posted: 25 Jan 2018, 05:07
by jsantos
Marking this as solved