> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LampArrayPosition

> 描述從 LampArray 原點起算之 3D 位置 (以毫米為單位) 的結構，用於在 LampArray 週框方塊內放置個別 Lamp。

# LampArrayPosition

代表 3D 空間中從指定原點起算的測量值。

## 語法

```cpp theme={null}
struct LampArrayPosition
{
    float xInMeters;
    float yInMeters;
    float zInMeters;
};
```

### 成員

*xInMeters*\
類型：float

在 x 維度上與原點的距離，以公尺為單位。

*yInMeters*\
類型：float

在 y 維度上與原點的距離，以公尺為單位。

*zInMeters*\
類型：float

在 z 維度上與原點的距離，以公尺為單位。

## 需求

**標頭：** LampArray.h

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[照明 API 概觀](https://docs.xbox.com/zh-TW/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray::GetBoundingBox](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getboundingbox.md)\
[ILampInfo::GetPosition](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition.md)


## Related topics

- [GetPosition](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition.md)
- [LampArray API 成員](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/lamparray_members.md)
- [GetBoundingBox](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getboundingbox.md)
- [LampArray 效果](https://docs.xbox.com/zh-TW/build/core-features/common/lighting/lighting-effects.md)
- [ILampInfo (介面內容)](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
