Showing Viewmodel Textures in UI
Conversion Functions: Showing Textures from a Viewmodel
The Make Image Brush From Texture and Make Image Brush From Material conversion functions provide a way for you to insert a Texture or Material from a viewmodel into an Image widget directly inside your User Widget.
The Make Image Brush From Texture and Make Image Brush From Material conversion functions provide a way for you to insert a Texture or Material from a viewmodel into an Image widget directly inside your User Widget.
Unlike the Set Material Parameter conversion functions, these two conversion functions remove the need to have a material with a Texture parameter. These conversion functions insert textures into your UI.

This example expands on the Tracker widget from the To Text tutorials by passing the Icon property from the Tracker viewmodel into an Image widget using the Make Image Brush from Texture.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.