ILampArray::GetBoundingBox
Returns the logical 3D bounding box encompassing the ILampArray.
Syntax
void GetBoundingBox(
LampArrayPosition* boundingBox)
Parameters
boundingBox _Out_
Type: LampArrayPosition*
The value of the bounding box.
Return value
Type: void
Remarks
The origin (zero) point of the bounding box is the upmost, farthest, left-hand corner of the box. The results of ILampInfo::GetPosition are oriented with respect to this origin point.
X corresponds to Width, ascending from left to right.
Y corresponds to Height, ascending from farthest to closest.
Z corresponds to Depth, ascending from top to bottom.
Values are measured in meters.
The following is an example of a bounding box for a keyboard:
The following is an example of a bounding box for a mouse:
Requirements
Header: LampArray.h
Library: xgameplatform.lib
Supported platforms: Xbox One family consoles and Xbox Series consoles