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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to add new templates to UE4 reflection system?

In 4.13 release we can see added new TSet type to reflection (property) system.

So, can I create own template classes which can be used as UPROPERTies?

Now there next template types which used in reflection system: TArray, TMap, TSet, TSubclassOf. If I want create my own what I must do?

Need I change UBT\UHT for this and Core modules?


Product Version: UE 4.13
more ▼

asked Sep 16 '16 at 09:10 PM in C++ Programming

avatar image

564 44 64 92

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

1 answer: sort voted first

You would need to create UProperty class (look up engine source code to see how they are implmented) which represets the property type:


also you need to modify UHT to make it recognize it


and ofcorse Slate UI if you want to make it apper in property editor and you need to do the same with node pins:


I never even think about doing that so this is all i can give you, it might need even deeper modifications in core so it might be painful. Note that you can create custom property UI for any type that reflection system supports for example custom UI specific structure type (good example here is FSlateBrush), so if you aim for that you don't need to create custom property type for just that

more ▼

answered Nov 17 '16 at 12:10 AM

avatar image

36.6k 931 169 1111

(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