x

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"

Getting Material off a skeletal Mesh

Hi!

I have a skeletal Mesh reference variable and want to access and save the materials of that skel mesh (to reassign them later, after having them changed). Now, i can't seem to find a possibility to access those materials. There is a "Get Materials" function, but it spits out an array of "Skeletal Material Structures" which is not a variable type that I seem to be able to create (neither from the variable menu, nor using the "Promote to Variable" option).

Any Ideas?

Product Version: UE 4.16
Tags:
more ▼

asked Aug 06 '17 at 06:26 PM in Blueprint Scripting

avatar image

Fraeger
31 1 8 5

avatar image Ridley R ♦♦ STAFF Aug 07 '17 at 06:56 PM

Hi,

I gave this a try in the third person template and I was able to get a reference to the material using the following method:

alt text

Is this what you were looking to accomplish?

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

1 answer: sort voted first

I think what you did here was to have a SkelMesh Component (the first Node called Mesh). That works perfectly fine. However, I have a variable that is a Skel Mesh Reference and then it doesn't work like that :( I solved it like this now: alt text

newblueprint.jpg (61.8 kB)
more ▼

answered Aug 08 '17 at 09:06 AM

avatar image

Fraeger
31 1 8 5

(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