LEAP_IMAGE_EVENT

Type Alias LEAP_IMAGE_EVENT 

Source
pub type LEAP_IMAGE_EVENT = _LEAP_IMAGE_EVENT;
Expand description

\ingroup Structs Streaming stereo image pairs from the device.

LeapPollConnection() produces this message when an image is available. The struct contains image properties, the distortion grid, and a pointer to the buffer containing the image data – which was allocated using the allocator function passed to LeapC using the LeapSetAllocator. @since 4.0.0

Aliased Type§

#[repr(C, packed(1))]
pub struct LEAP_IMAGE_EVENT { pub info: _LEAP_FRAME_HEADER, pub image: [_LEAP_IMAGE; 2], pub calib: *mut _LEAP_CALIBRATION, }

Fields§

§info: _LEAP_FRAME_HEADER

The information header identifying the images tracking frame.

§image: [_LEAP_IMAGE; 2]

The left and right images.

§calib: *mut _LEAP_CALIBRATION

For internal use only.