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

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