How to get access to material parameter collcetion in c++

image
I have material parameter collection in my blueprint files, but I can’t get access in c++, I need help with this

This can also be exposed as a uproprerty in the header and assigned in editor.

UPROPERTY(VisibleAnywhere, BlueprintReadWrite, meta = (AllowPrivateAccess = "true"))
UMaterialParameterCollection* collection;
1 Like

I tried without meta parameters before, so it didn’t work, thanks a lot, it really helped me

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.