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

# ILampInfo::GetPurposes

> ILampInfo::GetPurposes

# ILampInfo::GetPurposes

Lamp が使用されることを想定した用途のセットを返します。

## 構文

```cpp theme={null}
LampPurposes GetPurposes(
)
```

### パラメーター

このメソッドにはパラメーターがありません。

### 戻り値

Type: [LampPurposes](/reference/lighting/lamparray/enums/lamppurposes)

Lamp が使用されることを想定した用途を示すフラグのセットです。

## 要件

**ヘッダー:** LampArray.h

**ライブラリ:** xgameplatform.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[Lighting API の概要](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampInfo](/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

- [LampPurposes 列挙型](/ja-jp/reference/lighting/lamparray/enums/lamppurposes.md)
- [ILampInfo::GetIndex](/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
- [ILampInfo::GetPosition](/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition.md)
- [ILampInfo::GetNearestSupportedColor](/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getnearestsupportedcolor.md)
- [ILampInfo::GetScanCode](/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getscancode.md)
