How get "reference" variable from class?

Hi!
I have a blueprint with parameters. After “cast to …” i have only class of this blueprint. In another place (like as UMG) i can get class defaults, but some parameters does not show in “get class defaults” node. I see only boolean, float, integer parameters end etc. But i want to get material parameter from this class. How i can get it?

Screen shot?

But i want to get material parameter
from this class.

Assuming you’re talking about a Texture Parameter here as it’s the only one that’d make sense in this context. You should be able to do it by turning the variable type into a Material Instance Dynamic - Soft Material Parameter. You need to Resolve the soft reference to get access to the dynamic material and get / set the param from there on.

edit: in case what I said makes little sense:

I’ve been using soft references a lot recently. I’ve yet to use it for a material param, though - this is untested. Do tell whether it works as expected.

1 Like

It looks like i need! I checked and it
works. Thanks! Do you know about
performance if we talk about this
method?

This should have no impact on anything as far as I know.

It looks like i need! I checked and it works. Thanks!
Do you know about performance if we talk about this method?