Hi all,
I want to get a reference to a selected asset in the Content Browser, not a selected actor in the World Outliner.
Is there a way to do that in Blueprints, or do I need to write a custom c++ function?
I need to mass-assign a material to selected Static Mesh Actors in the Content Browser, but the Bulk Property Matrix doesn’t have a Material setting, so I want to create a blutility that lets me do that.
You should be able to simply create a custom variable for your asset in the graph for your static meshes then simply use that variable where it’s needed.
Have you tried doing that?
Hey TrojanVirus,
thanks for the reply and suggestions.
I need to assign a material to all selected assets in the Content Browser, so creating a custom array variable isn’t ideal, as I would have to assign each asset I want to update 1 by 1 to the array. There is a Blueprint function called GetSelectionSet, which returns an array of all selected Actors in the Editor/World Outliner, but I need to return all selected Assets from the Content Browser instead.