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"

Are instanced static mesh components combined into a single instanced static mesh if they use the same mesh asset?

I'm currently wondering how Instanced Static Mesh Components work, or more precisely what happens in the following two situations:

First, let's assume one creates an actor blueprint that has an instanced static mesh component, and then places two identical instances those actors in the level. Will this cause two distinct instanced static meshes to be created, or will both actor's instanced static mesh components be combined into a single instanced static mesh for rendering purposes?

The second situation would be that one actor has two identical instanced static mesh components. Will those be one instanced static mesh for rendering, or will they be rendered as individual instanced static meshes each?

Thanks in advance!

Product Version: UE 4.13
more ▼

asked Mar 01 '17 at 09:52 AM in Using UE4

avatar image

237 5 13 15

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

1 answer: sort voted first

The instanced static mesh component acts as a container for the intances that you add. The static mesh and material it uses is set on that component. You add instances with AddInstance, not Spawn.

So if you do spawn or place two of those actors, each will have it's container and they won't be pooled together.

If you want it to be one static mesh container, what you can do is create an actor that has the instanced static mesh component that acts as a global container, and pass a reference to that to your other actors, who then add instances to this global container.

more ▼

answered Mar 13 '17 at 03:34 PM

avatar image

96 2 5 9

(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