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

# LampArrayPosition

> LampArrayPosition

# LampArrayPosition

表示从给定原点在 3D 空间中的度量。

<a id="syntaxSection" />

## 语法

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

<a id="membersSection" />

### 成员

*xInMeters*\
类型：float

在 x 维度上距原点的距离，以米为单位。

*yInMeters*\
类型：float

在 y 维度上距原点的距离，以米为单位。

*zInMeters*\
类型：float

在 z 维度上距原点的距离，以米为单位。

<a id="requirementsSection" />

## 要求

**头文件：** LampArray.h

**支持的平台：** XBOX One 系列主机和 XBOX Series 主机

<a id="seealsoSection" />

## 另请参阅

[光照 API 概览](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray::GetBoundingBox](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getboundingbox)\
[ILampInfo::GetPosition](/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition)
