unreal.LeapDevice

class unreal.LeapDevice(pid='', baseline=0, serial='', horizontal_fov=0.0, vertical_fov=0.0, range=0)

Bases: unreal.StructBase

Leap Device

C++ Source:

  • Plugin: LeapMotion
  • Module: LeapMotion
  • File: LeapMotionData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • baseline (int32): [Read-Write] The 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.

  • horizontal_fov (float): [Read-Write] The horizontal field of view of this device in radians.

  • pid (str): [Read-Write] One of the eLeapDevicePID members as a string.

  • range (int32): [Read-Write] The maximum range for this device, in micrometers.

  • serial (str): [Read-Write] Serial number string

  • vertical_fov (float): [Read-Write] The vertical field of view of this device in radians.

baseline

(int32) – [Read-Only] The 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.

horizontal_fov

(float) – [Read-Only] The horizontal field of view of this device in radians.

pid

(str) – [Read-Only] One of the eLeapDevicePID members as a string.

range

(int32) – [Read-Only] The maximum range for this device, in micrometers.

serial

(str) – [Read-Only] Serial number string

vertical_fov

(float) – [Read-Only] The vertical field of view of this device in radians.