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"

UObject* Outer

I saw many functions from UE require "outer" parameter. Its type is UObject*. What is it really and why does UE really need this parameter?

SetStaticMesh() function is an example which require this paramter. If I set its "outer" value to its own UStaticMeshComponent object, does it mean that if I destroy the static mesh component, the UStaticMesh will also be destroyed or garbage collected?

Product Version: UE 4.12
more ▼

asked Sep 01 '16 at 01:37 PM in C++ Programming

avatar image

266 22 34 42

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

1 answer: sort voted first
more ▼

answered Sep 01 '16 at 04:20 PM

avatar image

2.1k 67 84 77

avatar image Pelangi Sep 18 '16 at 07:43 AM

Thanks CleanCut, that's a good explanation. But does it get garbage collected when an object is no longer pointed its "outer" object?

What happens when its "outer" is destroyed?

avatar image Pelangi Dec 09 '17 at 10:00 AM

After more than 1 year, it seems like no one is able to answer this

(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