vault backup: 2024-08-15 13:32:26
This commit is contained in:
parent
29c0ce9645
commit
c736a8562a
@ -165,8 +165,11 @@ Game Thread 造成的开销,基本可以归因于 C++ 和蓝图的逻辑处理
|
||||
针对Tick可使用:
|
||||
- **stat game**:显示 Tick 的耗时情况
|
||||
- **dumpticks**:可将所有正在 _tick_ 的 _actor_ 打印到 _log_ 中
|
||||
- **stat tickables**
|
||||
|
||||
复杂逻辑:需要借助 Unreal Frontend Profiler / Unreal Insights 等工具对游戏逻辑中开销较大的代码进行定位。
|
||||
### LandscapeSubsystem Tick
|
||||
主要是在更新Grass。在非编辑器下的 Game 模式,可以通过 Console Variable `grass.TickInterval` 来设置更新间隔,其数值会被 clamp 在 1 到 60 之间。
|
||||
|
||||
### Draw Thread (Rendering Thread)
|
||||
Draw Thread 的主要开销来源于 **Visibility Culling** 和 **Draw Call**。
|
||||
|
Loading…
x
Reference in New Issue
Block a user