DeviceListΒΆ
Properties:
Methods:
- class Leap::DeviceList
The DeviceList class represents a list of Device objects.
Get a DeviceList object by calling Controller::devices().
- Since
- 1.0
- Public Functions
- DeviceList()
Constructs an empty list of devices.
- Since
- 1.0
- Property
- Device ActiveDevice
The device that is currently streaming tracking data.
If no streaming devices are found, returns a default object.
- Since
- 3.0
- bool IsEmpty
Reports whether the list is empty.
if (!controller.Devices.IsEmpty) { Device leapDevice = controller.Devices [0]; }- Return
- True, if the list has no members.
- Since
- 1.0
C# and Unity