Share via


LampArray.BoundingBox Property

Definition

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

Vector3 Vector3

float3

The value of the bounding box.

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

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.

Origin of Positions is the upmost, top, left corner of the box.

Applies to

See also