|
MaxstAR Unity
|
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 | |
| WearableCalibration () | |
| Default constructor More... | |
| bool | IsActivated () |
| Confirm that the HMD unit is initialized. More... | |
| bool | Init (string modelName, int width, int height) |
| Initialize the HMD device. More... | |
| void | Deinit () |
| Deinitialize the HMD device. More... | |
| float[] | GetViewport (EyeType eyeType) |
| Get HMD screen viewport. More... | |
| float[] | GetProjectionMatrix (EyeType eyeType) |
| Get calibrated HMD projection matrix. More... | |
| void | CreateWearableEye (Transform cameraTransform) |
| Create sterescopic camera More... | |
Properties | |
| string | activeProfile [get, set] |
| Get active calibration profile name More... | |
API for wearable calibration.
|
strong |
|
strong |
| maxstAR.WearableCalibration.WearableCalibration | ( | ) |
Default constructor
| void maxstAR.WearableCalibration.CreateWearableEye | ( | Transform | cameraTransform | ) |
Create sterescopic camera
| cameraTransform |
| void maxstAR.WearableCalibration.Deinit | ( | ) |
Deinitialize the HMD device.
| 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, |
| int | width, | ||
| int | height | ||
| ) |
Initialize the HMD device.
| modelName | Device name |
| width | Device screen width |
| height | Device screen height |
| bool maxstAR.WearableCalibration.IsActivated | ( | ) |
Confirm that the HMD unit is initialized.
|
getset |
Get active calibration profile name
1.8.16