For Agents | Documentation index: https://create.roblox.com/docs/llms.txt | Engine API index: https://create.roblox.com/docs/reference/engine/llms.txt
学习
/
引擎 API
/
类 (Classes)
Object
/
Instance
/
Stats
Stats
无法创建
服务
*
此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按
此处
。
摘要
属性
ContactsCount
:
number
DataReceiveKbps
:
number
DataSendKbps
:
number
FrameTime
:
number
HeartbeatTime
:
number
HeartbeatTimeMs
:
number
已弃用
InstanceCount
:
number
MemoryTrackingEnabled
:
boolean
MovingPrimitivesCount
:
number
PhysicsReceiveKbps
:
number
PhysicsSendKbps
:
number
PhysicsStepTime
:
number
PhysicsStepTimeMs
:
number
已弃用
PrimitivesCount
:
number
RenderCPUFrameTime
:
number
RenderGPUFrameTime
:
number
SceneDrawcallCount
:
number
SceneTriangleCount
:
number
ShadowsDrawcallCount
:
number
ShadowsTriangleCount
:
number
UI2DDrawcallCount
:
number
UI2DTriangleCount
:
number
UI3DDrawcallCount
:
number
UI3DTriangleCount
:
number
方法
GetHarmonyQualityLevel
()
:
number
GetMemoryCategoryNames
()
:
{any}
GetMemoryUsageMbAllCategories
()
:
{any}
GetMemoryUsageMbForTag
(
tag:
Enum.DeveloperMemoryTag
)
:
number
GetTotalMemoryUsageMb
()
:
number
ResetHarmonyMemoryTarget
()
:
()
SetHarmonyMemoryTarget
(
targetMB:
number
)
:
()
继承成员
58
个继承自
Instance
6
个继承自
Object
API 参考
属性
Contacts
Count
只读
未复制
读取并联
Stats.
Contacts
Count
:
number
提供反馈
Data
Receive
Kbps
只读
未复制
读取并联
Stats.
Data
Receive
Kbps
:
number
提供反馈
Data
Send
Kbps
只读
未复制
读取并联
Stats.
Data
Send
Kbps
:
number
提供反馈
Frame
Time
只读
未复制
读取并联
Stats.
Frame
Time
:
number
提供反馈
Heartbeat
Time
只读
未复制
读取并联
Stats.
Heartbeat
Time
:
number
提供反馈
Heartbeat
Time
Ms
已弃用
显示详情
Instance
Count
只读
未复制
读取并联
Stats.
Instance
Count
:
number
提供反馈
Memory
Tracking
Enabled
只读
未复制
读取并联
Stats.
Memory
Tracking
Enabled
:
boolean
提供反馈
Moving
Primitives
Count
只读
未复制
读取并联
Stats.
Moving
Primitives
Count
:
number
提供反馈
Physics
Receive
Kbps
只读
未复制
读取并联
Stats.
Physics
Receive
Kbps
:
number
提供反馈
Physics
Send
Kbps
只读
未复制
读取并联
Stats.
Physics
Send
Kbps
:
number
提供反馈
Physics
Step
Time
只读
未复制
读取并联
Stats.
Physics
Step
Time
:
number
提供反馈
Physics
Step
Time
Ms
已弃用
显示详情
Primitives
Count
只读
未复制
读取并联
Stats.
Primitives
Count
:
number
提供反馈
Render
CPU
Frame
Time
只读
未复制
读取并联
Stats.
Render
CPU
Frame
Time
:
number
提供反馈
Render
GPU
Frame
Time
只读
未复制
读取并联
Stats.
Render
GPU
Frame
Time
:
number
提供反馈
Scene
Drawcall
Count
只读
未复制
读取并联
Stats.
Scene
Drawcall
Count
:
number
提供反馈
Scene
Triangle
Count
只读
未复制
读取并联
Stats.
Scene
Triangle
Count
:
number
提供反馈
Shadows
Drawcall
Count
只读
未复制
读取并联
Stats.
Shadows
Drawcall
Count
:
number
提供反馈
Shadows
Triangle
Count
只读
未复制
读取并联
Stats.
Shadows
Triangle
Count
:
number
提供反馈
UI2
D
Drawcall
Count
只读
未复制
读取并联
Stats.
UI2
D
Drawcall
Count
:
number
提供反馈
UI2
D
Triangle
Count
只读
未复制
读取并联
Stats.
UI2
D
Triangle
Count
:
number
提供反馈
UI3
D
Drawcall
Count
只读
未复制
读取并联
Stats.
UI3
D
Drawcall
Count
:
number
提供反馈
UI3
D
Triangle
Count
只读
未复制
读取并联
Stats.
UI3
D
Triangle
Count
:
number
提供反馈
方法
Get
Harmony
Quality
Level
功能: InternalTest
Stats:
Get
Harmony
Quality
Level
(
)
:
number
返回
number
提供反馈
Get
Memory
Category
Names
功能: InternalTest
Stats:
Get
Memory
Category
Names
(
)
:
{any}
返回
{any}
提供反馈
Get
Memory
Usage
Mb
All
Categories
功能: InternalTest
Stats:
Get
Memory
Usage
Mb
All
Categories
(
)
:
{any}
返回
{any}
提供反馈
Get
Memory
Usage
Mb
For
Tag
Stats:
Get
Memory
Usage
Mb
For
Tag
(
tag
:
Enum.DeveloperMemoryTag
)
:
number
参数
tag
:
Enum.DeveloperMemoryTag
返回
number
提供反馈
Get
Total
Memory
Usage
Mb
Stats:
Get
Total
Memory
Usage
Mb
(
)
:
number
返回
number
提供反馈
Reset
Harmony
Memory
Target
功能: InternalTest
Stats:
Reset
Harmony
Memory
Target
(
)
:
()
返回
()
提供反馈
Set
Harmony
Memory
Target
功能: InternalTest
Stats:
Set
Harmony
Memory
Target
(
target
MB
:
number
)
:
()
参数
targetMB
:
number
返回
()
提供反馈
©2026 Roblox Corporation、Roblox、Roblox 标志及 Powering Imagination 是我们在美国及其他国家或地区的注册与未注册商标。
条款
·
隐私政策
·
辅助功能
·
支持
中文(简体)