So I’m trying to use ARKit functionality in my 4.18 C++ project, and it turns out that none of it is exposed. Are we really only supposed to be using ARKit via the AppleARKitBlueprintLibrary?
I see all the other headers, but they are in the AppleARKit/Private directory. How am I supposed to use them?
I didn’t use this new feature yet; but I see it is a plugin so in whatever Module you want to add headers from it, in the module’s Build.cs file you have to include “AppleARKit” to dependency list first…
Then you can include any header from that ARKit module.
AppleARKit.Build.cs contains these declarations:
So, to include public headers after you add AppleARKit to your own Module’s dependency list:
#include "MyHeaderNameIwantToInclude.h"
To include headers that are inside a Private directory:
Any ideas on how to resolve this? I’ve already made to sure to include the AppleARKit, AugmentedReality, and HeadMountedDisplay modules in my Build.cs, but that hasn’t helped.