pub type LEAP_DEVICE_INFO = _LEAP_DEVICE_INFO;Expand description
\ingroup Structs Properties of a Leap device. Get a LEAP_DEVICE_INFO by calling LeapGetDeviceInfo() with the handle for device. The device must be open. @since 3.0.0
Aliased Type§
#[repr(C, packed(1))]pub struct LEAP_DEVICE_INFO {
pub size: u32,
pub status: u32,
pub caps: u32,
pub pid: i32,
pub baseline: u32,
pub serial_length: u32,
pub serial: *mut i8,
pub h_fov: f32,
pub v_fov: f32,
pub range: u32,
}Fields§
§size: u32Size of this structure. @since 3.0.0
status: u32A combination of eLeapDeviceStatus flags. @since 3.0.0
caps: u32A combination of eLeapDeviceCaps flags. @since 3.0.0
pid: i32One of the eLeapDevicePID members. @since 3.0.0
baseline: u32The device baseline, in micrometers.
The baseline is defined as the distance between the center axis of each lens in a stereo camera system. For other camera systems, this value is set to zero. @since 3.0.0
serial_length: u32The required length of the serial number char buffer including the null character. @since 3.0.0
serial: *mut i8A pointer to the null-terminated device serial number string. @since 3.0.0
h_fov: f32The horizontal field of view of this device in radians. @since 3.0.0
v_fov: f32The vertical field of view of this device in radians. @since 3.0.0
range: u32The maximum range for this device, in micrometers. @since 3.0.0