Topics | |
| Android-specific Platform Controller | |
| iOS-specific Platform Controller | |
| UWP-specific Platform Controller | |
Enumerations | |
| enum | VuViewOrientation : int32_t { VU_VIEW_ORIENTATION_LANDSCAPE_LEFT = 0x1 , VU_VIEW_ORIENTATION_PORTRAIT = 0x2 , VU_VIEW_ORIENTATION_LANDSCAPE_RIGHT = 0x3 , VU_VIEW_ORIENTATION_PORTRAIT_UPSIDEDOWN = 0x4 } |
| The view orientation describes how the application is oriented, or how the user "views" the camera image. More... | |
| enum | VuFusionProviderType : int32_t { VU_FUSION_PROVIDER_TYPE_UNKNOWN = 0x1 , VU_FUSION_PROVIDER_TYPE_VISION_ONLY = 0x2 , VU_FUSION_PROVIDER_TYPE_SENSOR_FUSION = 0x3 , VU_FUSION_PROVIDER_TYPE_PLATFORM_SENSOR_FUSION = 0x4 } |
| Vuforia Fusion provider types. More... | |
| enum | VuFusionProviderPlatformType : int32_t { VU_FUSION_PROVIDER_PLATFORM_TYPE_UNKNOWN = 0x1 , VU_FUSION_PROVIDER_PLATFORM_TYPE_ARKIT = 0x2 , VU_FUSION_PROVIDER_PLATFORM_TYPE_ARCORE = 0x3 , VU_FUSION_PROVIDER_PLATFORM_TYPE_WINDOWS_HOLOGRAPHIC = 0x4 , VU_FUSION_PROVIDER_PLATFORM_TYPE_LUMIN = 0x5 , VU_FUSION_PROVIDER_PLATFORM_TYPE_EXTERNAL = 0x6 } |
| Vuforia Fusion Provider Platform type. More... | |
Functions | |
| VuResult | vuEngineGetPlatformController (const VuEngine *engine, VuController **controller) |
| Retrieve Platform Controller to get access to platform-specific functionality and settings in Engine. | |
| VuResult | vuPlatformControllerSetViewOrientation (VuController *controller, VuViewOrientation orientation) |
| Set the current view orientation. | |
| VuResult | vuPlatformControllerConvertPlatformViewOrientation (const VuController *controller, const void *platformOrientation, VuViewOrientation *vuOrientation) |
| Utility function for converting a platform-specific orientation descriptor to a Vuforia view orientation value. | |
| VuResult | vuPlatformControllerGetFusionProviderType (const VuController *controller, VuFusionProviderType *fusionProvider) |
| Get the current fusion provider type. | |
| VuResult | vuPlatformControllerGetFusionProviderPlatformType (const VuController *controller, VuFusionProviderPlatformType *fusionProviderPlatformType) |
| Get the current platform fusion provider type if Vuforia Fusion is using platform-provided technology. | |
| VuResult | vuPlatformControllerGetDriverLibraryHandle (const VuController *controller, void **handle) |
| Retrieves the handle to the currently loaded Vuforia Driver library. | |
This controller allows the control of platform-specific features on certain platforms. Check whether a platform-specific header called {PLATFORM_NAME}/Platfrom_{PLATFORM_NAME}.h exists for the given platform, and look up options there. If no platform-specific header exists, then the Vuforia Engine does not support any platform-specific functionality on the given platform.
| enum VuViewOrientation : int32_t |
The view orientation describes how the application is oriented, or how the user "views" the camera image.
| enum VuFusionProviderType : int32_t |
Vuforia Fusion provider types.
| enum VuFusionProviderPlatformType : int32_t |
Vuforia Fusion Provider Platform type.
| VuResult vuPlatformControllerSetViewOrientation | ( | VuController * | controller, |
| VuViewOrientation | orientation ) |
Set the current view orientation.
| VuResult vuPlatformControllerConvertPlatformViewOrientation | ( | const VuController * | controller, |
| const void * | platformOrientation, | ||
| VuViewOrientation * | vuOrientation ) |
Utility function for converting a platform-specific orientation descriptor to a Vuforia view orientation value.
| controller | pointer to the Platform Controller |
| platformOrientation | must be of the following type on each respective platform (valid values are indicated in parentheses): |
| vuOrientation | populated with the corresponding Vuforia view orientation value on success |
| VuResult vuPlatformControllerGetFusionProviderType | ( | const VuController * | controller, |
| VuFusionProviderType * | fusionProvider ) |
Get the current fusion provider type.
fusionProvider parameter is reported to be VU_FUSION_PROVIDER_TYPE_PLATFORM_SENSOR_FUSION, then you can call vuPlatformControllerGetFusionProviderPlatformType() to query the actual Vuforia Fusion provider's underlying platform's type. | VuResult vuPlatformControllerGetFusionProviderPlatformType | ( | const VuController * | controller, |
| VuFusionProviderPlatformType * | fusionProviderPlatformType ) |
Get the current platform fusion provider type if Vuforia Fusion is using platform-provided technology.
| VuResult vuPlatformControllerGetDriverLibraryHandle | ( | const VuController * | controller, |
| void ** | handle ) |
Retrieves the handle to the currently loaded Vuforia Driver library.
| controller | pointer to the Platform Controller |
| handle | will be populated with the native platform handle for the loaded library which can be used for e.g. dlsym()/GetProcAddress() to load additional functions from the Driver. |