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"

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. 

What header do i have to include?

Hey there,

I started doing my projects in c++ so excuse me if there is an obvious answer to my question. I´ve read some answers to similar questions and i figured out that since quite a few versions the engine no longer includes every header to minimize the amount of time compiling. I try to stick to this great idea but, especially as a beginner in c++, i get stucked almost every time i try to use any U..x..Components because of missing header files. This could be easily resolved by adding the engine.h but doesn´t follow the idea of minimize the compiling time.

finally to my question:

Is there any place where i can look for names of header files that needs to be included if i use diverse components?

e.g. if i want to use the USpringArmComponent what header file do i have to include? (Just an example)

I tried to figure this out through the UE4 API Reference without useable results.

Thank you for your help in advance.

Product Version: UE 4.18
Tags:
more ▼

asked Feb 14 '18 at 03:22 PM in C++ Programming

avatar image

Ðarkvisiøn
1 2

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

1 answer: sort voted first

... Totally self resolved by scrolling to the complete bottom of the API Reference page... alt text

answerhub.png (27.8 kB)
more ▼

answered Feb 14 '18 at 03:34 PM

avatar image

Ðarkvisiøn
1 2

(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