|
Maxst AR SDK 4.0.0
4.0.0
|
class for camera device handling More...
Public Types | |
| enum | FocusMode { FocusMode.FOCUS_MODE_CONTINUOUS_AUTO = 1, FocusMode.FOCUS_MODE_AUTO = 2 } |
| Camera focus mode More... | |
| enum | CameraType { CameraType.Rear = 0, CameraType.Face = 1 } |
| Supported camera type (Mobile only) More... | |
| enum | CameraResolution { CameraResolution.Resolution640x480, CameraResolution.Resolution1280x720, CameraResolution.Resolution1920x1080 } |
| Supported camera resolution More... | |
| enum | FlipDirection { FlipDirection.HORIZONTAL = 0, FlipDirection.VERTICAL = 1 } |
| Flip video More... | |
Public Member Functions | |
| ResultCode | Start () |
| Start camera preview More... | |
| bool | SetNewFrame (byte[] data, int length, int width, int height, ColorFormat format) |
| Set external camera image to AR engine.(Only enterprise license key can activate this interface. Mobile only supported) More... | |
| bool | SetNewFrame (ulong data, int length, int width, int height, ColorFormat format) |
| Set external camera image to AR engine.(Only enterprise license key can activate this interface. Mobile only supported) More... | |
| bool | SetNewFrameAndTimestamp (byte[] data, int length, int width, int height, ColorFormat format, ulong timestamp) |
| Set external camera image and timestamp to AR engine.(Only enterprise license key can activate this interface. Mobile only supported) More... | |
| bool | SetNewFrameAndTimestamp (ulong data, int length, int width, int height, ColorFormat format, ulong timestamp) |
| Set external camera image and timestamp to AR engine.(Only enterprise license key can activate this interface. Mobile only supported) More... | |
| bool | SetFocusMode (FocusMode focusMode) |
| Set camera focus mode More... | |
| bool | SetFlashLightMode (bool toggle) |
| Turn on/off flash light More... | |
| bool | SetAutoWhiteBalanceLock (bool toggle) |
| Toggle auto white balance lock (Android only supported now) More... | |
| void | FlipVideo (FlipDirection direction, bool on) |
| Flip video background More... | |
| List< string > | GetParamList () |
| Get parameter key list (Android only supported now) More... | |
| bool | SetParam (string key, bool boolTypeValue) |
| Set camera parameter (Android only supported now) More... | |
| bool | SetParam (string key, int intTypeValue) |
| Set camera parameter (Android only supported now) More... | |
| bool | SetParam (string key, int min, int max) |
| Set camera parameter (Android only supported now) More... | |
| bool | SetParam (string key, string stringTypeValue) |
| Set camera parameter (Android only supported now) More... | |
| ResultCode | Stop () |
| Stop camera preview More... | |
| int | GetWidth () |
| int | GetHeight () |
| Matrix4x4 | GetProjectionMatrix () |
| Get projection matrix More... | |
| bool | IsFlipHorizontal () |
| Get flip state More... | |
| bool | IsFlipVertical () |
| Get flip state More... | |
| bool | checkCameraMove (TrackedImage image) |
Static Public Member Functions | |
| static CameraDevice | GetInstance () |
| Get a CameraDevice instance. More... | |
class for camera device handling
|
strong |
|
strong |
|
strong |
|
strong |
|
inline |
Flip video background
| direction | Flip direction |
| on | True to set. False to rest |
|
inline |
|
inlinestatic |
Get a CameraDevice instance.
|
inline |
Get parameter key list (Android only supported now)
|
inline |
Get projection matrix
|
inline |
|
inline |
Get flip state
|
inline |
Get flip state
|
inline |
Toggle auto white balance lock (Android only supported now)
|
inline |
Turn on/off flash light
|
inline |
Set camera focus mode
| focusMode |
|
inline |
Set external camera image to AR engine.(Only enterprise license key can activate this interface. Mobile only supported)
| data | Byte array of camera image |
| length | Lenght of data buffer |
| width | Width of camera image |
| height | Height of camera image |
| format | Color format |
|
inline |
Set external camera image to AR engine.(Only enterprise license key can activate this interface. Mobile only supported)
| data | Native address of camera image |
| length | Lenght of data buffer |
| width | Width of camera image |
| height | Height of camera image |
| format | Color format |
|
inline |
Set external camera image and timestamp to AR engine.(Only enterprise license key can activate this interface. Mobile only supported)
| data | Byte array of camera image |
| length | Lenght of data buffer |
| width | Width of camera image |
| height | Height of camera image |
| format | Color format |
| timestamp | Timestamp |
|
inline |
Set external camera image and timestamp to AR engine.(Only enterprise license key can activate this interface. Mobile only supported)
| data | Native address of camera image |
| length | Lenght of data buffer |
| width | Width of camera image |
| height | Height of camera image |
| format | Color format |
| timestamp | Timestamp |
|
inline |
Set camera parameter (Android only supported now)
| key | Parameter key |
| boolTypeValue | Parameter value |
|
inline |
Set camera parameter (Android only supported now)
| key | Parameter key |
| intTypeValue | Parameter value |
|
inline |
Set camera parameter (Android only supported now)
| key | Parameter key |
| min | min value |
| max | min value |
|
inline |
Set camera parameter (Android only supported now)
| key | Parameter key |
| stringTypeValue | Parameter value |
|
inline |
Start camera preview
|
inline |
Stop camera preview
1.8.14