|
static Vector2 | CameraFrameToScreenSpaceCoordinates (Vector2 cameraFrameCoordinate, Rect bgTextureViewPortRect, bool isTextureMirrored, CameraDevice.VideoModeData videoModeData) |
| Calculates a position in screen space coordinates based on the current orientation and background config for a given screen-space position More...
|
|
static OrientedBoundingBox | CameraFrameToScreenSpaceCoordinates (OrientedBoundingBox cameraFrameObb, Rect bgTextureViewPortRect, bool isTextureMirrored, CameraDevice.VideoModeData videoModeData) |
| Calculates the screen space parameters for an oriented bounding box (center, half extents, rotation) specified in camera frame coordinates. The calculation is based on the current screen orientation. More...
|
|
static void | DestroyAllDataSetsAndTrackables () |
| Destroys all the currently loaded DataSets and all the associated Trackables. More...
|
|
static void | DisableSleepMode () |
| The device screen stays turned on and bright More...
|
|
static void | ForceDisableTrackables () |
| Disables all TrackableBehaviours. Used when an GL or orientation error is detected in a sample. More...
|
|
static FusionProviderType | GetActiveFusionProvider () |
| Returns which provider Vuforia Fusion has selected to use More...
|
|
static string | GetStoragePath (String path, VuforiaUnity.StorageType storageType) |
| Based on the storage type and current platform returns to the caller the correct path for a given platform. More...
|
|
static bool | IsPlayMode () |
| returns ONLY true if we are running in Play Mode More...
|
|
static bool | IsPlayModeRecording () |
| returns true if we are running in Play Mode with a Recording More...
|
|
static bool | IsPlayModeWebCam () |
| returns true if we are running in Play Mode with a WebCam More...
|
|
static bool | IsSimulatorMode () |
| returns ONLY true if we are running in Play Mode in Simulator Mode More...
|
|
static bool | IsUfoEnabled (string licenseKey, string ufoKey) |
|
static bool | IsVuforiaEnabled () |
| returns true if we have access to Vuforia (on a mobile device OR in the emulator in Unity Pro with a webcam connected) More...
|
|
static bool | IsWebCamUsed () |
| If the web cam is enabled. More...
|
|
static bool | IsWSARuntime () |
| returns ONLY true if we are in any one of the WSA modes More...
|
|
static bool | MatrixIsNaN (Matrix4x4 matrix) |
| Check if a matrix is NaN. return true if any element is NaN, false otherwise. More...
|
|
static void | ResetSleepMode () |
| Reset the sleep mode to the system settings. More...
|
|
static VuforiaRenderer.Vec2I | ScreenSpaceToCameraFrameCoordinates (Vector2 screenSpaceCoordinate, Rect bgTextureViewPortRect, bool isTextureMirrored, CameraDevice.VideoModeData videoModeData) |
| Calculates a position in camera frame coordinates based on the current orientation and background config for a given screen-space position More...
|
|
static Vector2 | ScreenSpaceToCameraFrameCoordinatesNormalized (Vector2 screenSpaceCoordinate, Rect bgTextureViewPortRect) |
| Calculates a normalized position in camera frame coordinates based on the current orientation and background config for given screen-space coordinates More...
|
|
static void | SelectRectTopLeftAndBottomRightForLandscapeLeft (Rect screenSpaceRect, bool isMirrored, out Vector2 topLeft, out Vector2 bottomRight) |
| Selects the top left and bottom right corners from a rect, where "top", "left", "bottom" and "right" are in respect to landscape left orientation Used for region of interest calculations for text tracking More...
|
|
static FusionProviderType | SetAllowedFusionProviders (FusionProviderType providerTypes) |
| Specifies which providers Vuforia Fusion is allowed to select from More...
|
|
StreamingAssets.*</summary > *static string | StripStreamingAssetsFromPath (string fullPath) |
| Returns the file path without the first two elements of the path for example it would remove ' More...
|
|
static Vector2 | ViewPortToCameraFrameCoordinatesNormalized (Vector2 unityViewPortCoordinates, Rect bgTextureViewPortRect) |
| Calculates a normalized position in camera frame coordinates based on the current orientation and background config for given Unity ViewPort coordinates More...
|
|
A utility class containing various helper methods
Specifies which providers Vuforia Fusion is allowed to select from
This function must be called before initializing Vuforia. If the call is successful, it returns the value of providerTypes which was passed in.
If called after initializing Vuforia Engine, the function returns INVALID_OPERATION.
providerTypes is a single value created by or'ing together the desired FusionProviderType enum values.
Note: The enum value INVALID_OPERATION should not be used when setting up the providerTypes.