學習
引擎類別
ScreenshotHud
無法建立
未複製

*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡


範例程式碼
本地腳本
local GuiService = game:GetService("GuiService")
local screenshotHud = GuiService:WaitForChild("ScreenshotHud")
screenshotHud.ExperienceNameOverlayEnabled = true
screenshotHud.OverlayFont = Enum.Font.GothamMedium
screenshotHud.Visible = true

API 參考
屬性
CameraButtonIcon
平行讀取
功能: UI
ScreenshotHud.CameraButtonIcon:ContentId

CameraButtonIconContent
平行讀取
功能: UI
ScreenshotHud.CameraButtonIconContent:Content

CameraButtonPosition
平行讀取
功能: UI
ScreenshotHud.CameraButtonPosition:UDim2

CloseButtonPosition
平行讀取
功能: UI
ScreenshotHud.CloseButtonPosition:UDim2

CloseWhenScreenshotTaken
平行讀取
功能: UI
ScreenshotHud.CloseWhenScreenshotTaken:boolean

ExperienceNameOverlayEnabled
已棄用

HideCoreGuiForCaptures
平行讀取
功能: UI
ScreenshotHud.HideCoreGuiForCaptures:boolean

HidePlayerGuiForCaptures
平行讀取
功能: UI
ScreenshotHud.HidePlayerGuiForCaptures:boolean

OverlayFont
已棄用

UsernameOverlayEnabled
已棄用

Visible
平行讀取
功能: UI
ScreenshotHud.Visible:boolean

©2026 Roblox Corporation、Roblox、Roblox 標誌及 Powering Imagination 是我們在美國及其他國家地區的部分註冊與未註冊商標。