C API Unity API
C API Reference (Version 10.22.5)
Basic Vuforia Types

Macros

#define VU_TRUE   1
 Boolean value for true.
 
#define VU_FALSE   0
 Boolean value for false.
 

Typedefs

typedef uint32_t VuBool
 Boolean type.
 
typedef int32_t VuErrorCode
 Error code type. More...
 
typedef uint32_t VuFlags
 Bitflag code type.
 
typedef struct VuController_ VuController
 Vuforia Controller handle.
 

Enumerations

enum  VuResult : int32_t {
  VU_FAILED = 0x0,
  VU_SUCCESS = 0x1
}
 Error code result from an operation. More...
 
enum  VuRotation : int32_t {
  VU_ROTATION_ANGLE_0 = 0x1,
  VU_ROTATION_ANGLE_90 = 0x2,
  VU_ROTATION_ANGLE_180 = 0x3,
  VU_ROTATION_ANGLE_270 = 0x4
}
 Rotation angle for camera intrinsics, rendering, etc. More...
 

Detailed Description

Typedef Documentation

◆ VuErrorCode

typedef int32_t VuErrorCode

Error code type.

Note
The error code's data type is the same as the underlying data type of VU_ENUM values.

Enumeration Type Documentation

◆ VuResult

enum VuResult : int32_t

Error code result from an operation.

Note
When a function fails by returning VU_FAILED, check the function-specific error code in the respective out parameter.
Enumerator
VU_FAILED 

Failed operation.

VU_SUCCESS 

Successful operation.

◆ VuRotation

enum VuRotation : int32_t

Rotation angle for camera intrinsics, rendering, etc.

Enumerator
VU_ROTATION_ANGLE_0 

0 degrees

VU_ROTATION_ANGLE_90 

90 degrees

VU_ROTATION_ANGLE_180 

180 degrees

VU_ROTATION_ANGLE_270 

270 degrees