x

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"

Interface class as input or variable type

I know how to create it using the "promote" function, but there is any way to put it manually from the list?

Product Version: UE 4.21
Tags:
more ▼

asked Dec 06 '18 at 12:29 AM in Using UE4

avatar image

Cucharón
22 2 6 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

It should be on variable type list in property editor when you click variable form the list and there even Interface category, you can use search to

more ▼

answered Dec 06 '18 at 05:46 AM

avatar image

Shadowriver
33.2k 915 164 1087

avatar image Cucharón Dec 06 '18 at 01:02 PM

Obviously it isn't, that's why I am asking for.

avatar image Shadowriver Dec 07 '18 at 11:19 PM

It should be, otherwise there something wrong with your interface, can you provide more details?

avatar image Cucharón Dec 10 '18 at 11:29 PM

I want to put an the interface CLASS (interface interface), not interface object reference.

avatar image Shadowriver Dec 11 '18 at 02:51 AM

Oh, then sorry for misunderstanding. You can not do that out of the blueprints alone as UInterface is not declared as BlueprintType. You could do that if you would declare your interface in C++, which require deceleration of own UInterface, you would just need to add BleuprintType. here how you do interface in C++:

https://docs.unrealengine.com/en-US/Programming/UnrealArchitecture/Reference/Interfaces

avatar image Cucharón Dec 27 '18 at 01:35 PM

You can do by "promoting to variable" or promoting to input, etc. There should be a direct way :-/

(comments are locked)
10|2000 characters needed characters left
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