コード例 #1
0
 /// <summary>
 /// Set external camera image and timestamp to AR engine.(Only enterprise license key can activate this interface. Mobile only supported)
 /// </summary>
 /// <param name="data">Native address of camera image</param>
 /// <param name="length">Lenght of data buffer</param>
 /// <param name="width">Width of camera image</param>
 /// <param name="height">Height of camera image</param>
 /// <param name="format">Color format</param>
 /// <param name="timestamp">Timestamp</param>
 /// <returns>True success</returns>
 public bool SetNewFrameAndTimestamp(ulong data, int length, int width, int height, ColorFormat format, ulong timestamp)
 {
     return(NativeAPI.CameraDevice_setNewFramePtrAndTimestamp(data, length, width, height, (int)format, timestamp));
 }