ApertusJNI.processEventDoubleQueue()), the plugin fires the events on the Java side, using the JNI's callback possibilities.
ape::Entityin ApertusVR, there is a corresponding Java class (the
ape::Entityis also included), which provides an interface to access, query, and modify an object on the C++ side. These wrapper classes contains only a
String, and a
apeEntity.Typemember variables, which makes it available to identify the entity related to the interface object. Then it calls the
static nativefunctions in ApertusJNI, to access the entity in C++.