學習
引擎類別
ShirtGraphic

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


概要
繼承成員

API 參考
屬性
Color3
平行讀取
功能: AvatarAppearance
ShirtGraphic.Color3:Color3

Graphic
平行讀取
功能: AvatarAppearance
ShirtGraphic.Graphic:ContentId
範例程式碼
圖形
local InsertService = game:GetService("InsertService")
local Workspace = game:GetService("Workspace")
local webURL = "https://www.roblox.com/catalog/2591161/Sword-Fight-on-the-Heights-Ring-of-Fire-T-Shirt"
local assetId = tonumber(string.match(webURL, "%d+") or 0) -- 提取數字
local success, model = pcall(function()
return InsertService:LoadAsset(assetId)
end)
if success then
model.Parent = Workspace
end

TextureContent
平行讀取
功能: AvatarAppearance
ShirtGraphic.TextureContent:Content

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