To start using any Vuforia feature you need first to start a new AR session.
In Vuforeal, all you need to do is to call the BP function “Start Vuforeal Session”:
This function must be called at the start before and regardless of what features you want to use. It should be called using the “Vuforeal Subsystem” as a target, and it takes an optional “Vuforeal Session Config” UAsset (more info on this UAsset in this article: Vuforeal Session Config UAsset).
Calling the “Start Vuforeal Session” will take care of setting up the entire core elements required for you to have a running Vuforia AR application regardless of the target device platform. You can call the “Start Vuforeal Session” whenever and wherever you want even from a blank new empty level with no pawn, actor, camera, lights, or anything added, and you’ll still have a functional AR session.
If you are using the provided Vuforeal Sample project, you can check the BP asset: “BP_VuforealSession” under Content/BPs, where we provide an example of how to set up a Vuforeal Session.
“Start Vuforeal Session” is a heavy operation and is not called on the Main Thread but called Asynchronously on another thread. You need to make sure that the Vuforia Engine is ready before you can activate and use any tracking feature, this is why we are providing multiple ways for you to be notified when the Session is ready:
You have the automatic route, where you can register any feature whenever you want, before, during, or after the Session is ready, and we take care of saving and activating these features when the Session is ready. Or the manual route, where we provide multiple Delegates, Events, Interfaces,… to notify and help you organize your calls, at any moment. For more info on these features check this article Vuforeal Callbacks.