Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Change material on repeating mesh

Hi, I've been following this tutorial to get a repeating mesh, now what I want to do is change the material of that mesh on a per-blueprint basis, I can change the material of the mesh in the Content Browser but that changes it for all of them.

Product Version: Not Selected
more ▼

asked Mar 08 '15 at 07:39 PM in Blueprint Scripting

avatar image

1 1 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


create a new variable with the object reference -> material type and set it to be editable.

Then in the construction script, right after you create the static mesh, use the set material node to set the material of the newly created static mesh to your chosen material. You can then change the material in the details tab of the blueprint once you place it into the level.

alt text

alt text

The element index of the set material node specifies which material channel to use, so if your mesh has more than 1 materials applied to it, you will need to specify which channel to use :)

material.png (164.4 kB)
material2.png (74.9 kB)
more ▼

answered Mar 08 '15 at 07:51 PM

avatar image

311 8 8 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question