LampArray.BoundingBox Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the logical bounding box encompassing the LampArray.
public:
property float3 BoundingBox { float3 get(); };
float3 BoundingBox();
public Vector3 BoundingBox { get; }
var vector3 = lampArray.boundingBox;
Public ReadOnly Property BoundingBox As Vector3
Property Value
The value of the bounding box.
Examples
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.
Remarks
- X corresponds to Width.
- Y corresponds to Height.
- Z corresponds to Depth.
Values are measured in meters.
The coordinate system is left-handed, with the origin at the front-top-left corner of the bounding box:
- +X extends to the right.
- +Y extends downward.
- +Z extends away from the user (into the device).
Origin of Positions is the upmost, top, left corner of the box.
Bounding box extents are derived from the device's HID LampArray descriptor, which reports dimensions in micrometers (µm). The WinRT API converts these values to meters (µm ÷ 1,000,000).