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"

Access cutom Component data in pluggin

Hey, i'm quite new to UE, and here my question :

I want to make an editor for objects having a custom Component ( call it CompoMain )

Thing is ,in pluggin, i don't succed to have access to said component data, any idea how to do that ?

additional : 'CompoMain' will call methods on secondary components.

Currently i have my editor ui working for "selected Actors"

Thanks ! :)

Product Version: UE 4.13
more ▼

asked Oct 17 '16 at 09:57 AM in C++ Programming

avatar image

1.5k 14 18 33

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

1 answer: sort voted first

You need to add the component as a PublicDependencyModuleName || PrivateDependencyModuleName to the project.

In your Projects Build.cs file, add


if you require private access

more ▼

answered Oct 17 '16 at 03:06 PM

avatar image

75 2 4 11

avatar image Firefly74 Oct 17 '16 at 04:34 PM

Thanks for the reply ! But shouldn't it be the other way arround ? (refferencing my game , so my edotir got access to the data ? )

avatar image DigitalKarnage Oct 17 '16 at 05:35 PM

Plugins should not reference Applications, only other modules. Your editor will only understand the datatypes provided by the Plugin, just the same as the application.

To have both the Editor and the Application understand CompoMain, it needs to be in the plugin, and the plugin needs to be referenced by the Application and Editor.

avatar image Firefly74 Oct 17 '16 at 09:14 PM

ok, that make sens ! i will try that towmorow ! thanks for the reply !

(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