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"

Meaning of "Instanced"

The documentation for the "Instanced" UPROPERTY attribute reads:

Property is a component reference. Implies EditInline and Export.

What exactly is meant by "a component reference"? Looking through the source, there are plenty of Instanced uprops which aren't in AActors, and whose types are not derived from UActorComponent. So I assume a broader definition of "component" is in play. What makes component references different from other references, beyond the behavior of EditInline and Export?

Product Version: UE 4.10
more ▼

asked Nov 13 '15 at 03:30 PM in C++ Programming

avatar image

480 21 21 40

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

1 answer: sort voted first

I think it just means a referenced (and probably owned) UObject. The general point of Instanced is to add and save properties that you can edit in editor and can differ between instances of blueprints. I wouldn't really try to understand any deeper than that.

more ▼

answered Nov 13 '15 at 04:59 PM

avatar image

703 40 32 123

avatar image Sneftel Nov 13 '15 at 05:03 PM

But there are plenty of UObject reference properties which are not marked Instanced, and which are editable in the editor, and which can differ between instances of blueprints. I understand what the "general point" is, but that's not sufficient for my needs. I need to know what its effect is.

avatar image mrooney Nov 13 '15 at 08:48 PM

Can you give an example? If they aren't marked as instanced they will not be exported when you save the instance and probably won't be editable in the instance details panel. The only ones I can think of are things that are very explicitly handled rather than being generically handled like they would be with Instanced.

avatar image Sneftel Nov 13 '15 at 09:41 PM

Drat, and now I'm away from my repo. I'll get back to you on that. IIRC, though, most of the instances of Instanced in the UE4 source are non-actor-components, since actor components benefit from the DefaultToInstanced in UActorComponent.

(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