|
MaxstARSDK
|
API for wearable calibration. More...

Public Types | |
| enum | EyeType { EyeType.EYE_LEFT = 0, EyeType.EYE_RIGHT = 1, EyeType.EYE_NUM = 2 } |
| Types of HMD eyes More... | |
| enum | WearableType { WearableType.None = 0, WearableType.OpticalSeeThrough = 1 } |
| Wearable Device Type More... | |
Public Member Functions | |
| bool | IsActivated () |
| Confirm that the HMD unit is initialized. More... | |
| bool | Init (string modelName) |
| Initialize the HMD device. More... | |
| void | Deinit () |
| Deinitialize the HMD device. More... | |
| void | SetSurfaceSize (int width, int height) |
| Set the HMD device screen size. More... | |
| float [] | GetViewport (EyeType eyeType) |
| Get HMD screen viewport. More... | |
| float [] | GetProjectionMatrix (EyeType eyeType) |
| Get calibrated HMD projection matrix. More... | |
Static Public Member Functions | |
| static WearableCalibration | GetInstance () |
| Get a WearableCalibration instance. More... | |
API for wearable calibration.
|
strong |
|
strong |
| void maxstAR.WearableCalibration.Deinit | ( | ) |
Deinitialize the HMD device.
|
static |
Get a WearableCalibration instance.
| float [] maxstAR.WearableCalibration.GetProjectionMatrix | ( | EyeType | eyeType | ) |
Get calibrated HMD projection matrix.
| eyeType | Types of HMD eyes |
| float [] maxstAR.WearableCalibration.GetViewport | ( | EyeType | eyeType | ) |
Get HMD screen viewport.
| eyeType | Types of HMD eyes |
| bool maxstAR.WearableCalibration.Init | ( | string | modelName | ) |
Initialize the HMD device.
| modelName | Device name |
| bool maxstAR.WearableCalibration.IsActivated | ( | ) |
Confirm that the HMD unit is initialized.
| void maxstAR.WearableCalibration.SetSurfaceSize | ( | int | width, |
| int | height | ||
| ) |
Set the HMD device screen size.
| width | Screen width |
| height | Screen height |