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"

Binding lambda to dynamic multicast delegates request

Why I can't bind lambda to dynamic multicast delegates? It's very important thing binding lambdas to delegates, and to simple delegates I can do that. But what about dynamic multicast? I want to bind some functionality to my UButton, and I don't want declare specified functions for every my button. I want to bind just lambda due to pithiness of code.

Product Version: UE 4.12
more ▼

asked Jul 08 '16 at 09:33 AM in C++ Programming

avatar image

584 45 65 95

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

1 answer: sort voted first


A dynamic delegate cannot bind to native code - it needs to be a UFUNCTION because it is bound using a UObject* and function name. This is necessary for reflection of dynamic delegates to work, and therefore serialisable and callable from BPs, and why there is a distinction between delegates and dynamic delegates in the first place.


more ▼

answered Jul 08 '16 at 09:38 AM

avatar image

Steve Robb STAFF
2.8k 58 31 101

avatar image broly Jul 08 '16 at 10:04 AM

Thank you!

(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