docs(scripting): add baseline api reference and guide

This commit is contained in:
2026-03-28 15:10:54 +08:00
parent 14c7fd69ec
commit 359fe2adb3
104 changed files with 3377 additions and 27 deletions

View File

@@ -0,0 +1,33 @@
# SceneRuntime::LateUpdate
**命名空间**: `XCEngine::Components`
**类型**: `method`
**头文件**: `XCEngine/Scene/SceneRuntime.h`
## 签名
```cpp
void LateUpdate(float deltaTime);
```
## 作用
驱动后更新阶段。
## 当前实现行为
-`FixedUpdate` / `Update` 一样,只有在运行中且场景活动时才执行。
- 当前顺序为:
1. `ScriptEngine::Get().OnLateUpdate(deltaTime)`
2. `m_scene->LateUpdate(deltaTime)`
## 设计含义
这维持了当前运行时一贯的脚本优先策略。对商业引擎文档来说,这一点必须明确,因为很多用户会默认认为 `LateUpdate` 主要用于相机跟随、动画后修正和最终姿态收敛,而顺序差异会直接影响结果。
## 相关文档
- [SceneRuntime](SceneRuntime.md)
- [SceneRuntime::Update](Update.md)