> ## 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

> LampArrayPosition

# 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-CN/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray::GetBoundingBox](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getboundingbox.md)\
[ILampInfo::GetPosition](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition.md)


## Related topics

- [GetPosition](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition.md)
- [LampArray API 成员](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/lamparray_members.md)
- [GetBoundingBox](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getboundingbox.md)
- [LampArray 效果](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/lighting-effects.md)
- [ILampInfo（接口内容）](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
