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"

how "get All Actors Of class" node generates the drop down class list ?

as the question described . any clue?

this question actually related to this issue: "https://answers.unrealengine.com/questions/201932/how-do-i-get-a-list-of-all-blueprint-classesin-blu.html"

Product Version: Not Selected
more ▼

asked Mar 28 '15 at 03:38 PM in C++ Programming

avatar image

245 18 24 31

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

2 answers: sort voted first

In blueprints from the "get all actors of class" select your class and from the array node call an "for each" loop then use the array element node to find what you need.

more ▼

answered Mar 28 '15 at 04:19 PM

avatar image

9 1 2 6

avatar image Muzaheed Mar 28 '15 at 04:55 PM

i know how to use it. i was looking for what actually happens in background of that node.

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

void UGameplayStatics::GetAllActorsOfClass(UObject* WorldContextObject, TSubclassOf ActorClass, TArray& OutActors)

In the C++ it's just a TSubclassOf object. Blueprint will automatically create a dropdown for TSubclassOf and list all the actors you can use in blueprint. If you want to know how to make a drop down for just anything using Slate, or how to get a list of all Actors, I don't know off the top of my head.

more ▼

answered Mar 29 '15 at 07:40 AM

avatar image

477 34 18 47

avatar image Muzaheed Mar 29 '15 at 10:29 AM

i found that out, actually i need to know how the drop down menu filled with class list. it happens through: Source\Editor\ClassViewer\Private\SClassViewer.cpp static void GetClassList(......) {}

but that function deals with FClassViewerNode. and there is no clue about getting the list. just nothing :(

(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