public void CompleteImageData(eLeapImageType type, eLeapImageFormat format, UInt32 bpp, UInt32 width, UInt32 height, Int64 timestamp, Int64 frame_id, float x_offset, float y_offset, float x_scale, float y_scale, DistortionData distortionData, int distortion_size, UInt64 distortion_matrix_version) { lock (locker) { this.type = type; this.format = format; this.bpp = bpp; this.width = width; this.height = height; this.timestamp = timestamp; this.frame_id = frame_id; this.DistortionData = distortionData; this.DistortionSize = distortion_size; this.DistortionMatrixKey = distortion_matrix_version; isComplete = true; } }
public void CompleteImageData(eLeapImageType type, eLeapImageFormat format, UInt32 bpp, UInt32 width, UInt32 height, Int64 timestamp, Int64 frame_id, float x_offset, float y_offset, float x_scale, float y_scale, DistortionData distortionData, int distortion_size, UInt64 distortion_matrix_version) { lock(locker){ this.type = type; this.format = format; this.bpp = bpp; this.width = width; this.height = height; this.timestamp = timestamp; this.frame_id = frame_id; this.RayOffsetX = x_offset; this.RayOffsetY = y_offset; this.RayScaleX = x_scale; this.RayScaleY = y_offset; this.DistortionData = distortionData; this.DistortionSize = distortion_size; this.DistortionMatrixKey = distortion_matrix_version; isComplete = true; } }