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

# GetUpdateLatencyInMicroseconds 方法

> 傳回從 LampArray 收到 Lamp 更新到裝置上顯示變更之間的時間 (以微秒為單位)，有助於同步效果。

# ILampInfo::GetUpdateLatencyInMicroseconds

傳回從 LampArray 收到 Lamp 更新到裝置發出該更新之間的時間長度。

## 語法

```cpp theme={null}
uint64_t GetUpdateLatencyInMicroseconds(
)
```

### 參數

此方法沒有參數。

### 傳回值

類型：uint64\_t

從 LampArray 收到 Lamp 更新到裝置發出該更新之間的時間長度，以微秒為單位。

## 需求

**標頭：** LampArray.h

**程式庫：** xgameplatform.lib

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

## 另請參閱

[照明 API 概觀](/zh-TW/build/core-features/common/lighting/gc-lighting-toc)\
[ILampInfo](/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

- [GetMinUpdateIntervalInMicroseconds 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getminupdateintervalinmicroseconds.md)
- [ILampInfo 介面參考](/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
- [ILampArray 介面參考](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [XGameStreamingGetStreamAddedLatency](/zh-TW/reference/system/xgamestreaming/functions/xgamestreaminggetstreamaddedlatency.md)
- [遊戲串流延遲補償深入探討](/zh-TW/build/core-features/common/game-streaming/game-streaming-latency-compensation-deep-dive.md)
