Files
XCEngine/docs/api/XCEngine/Components/GameObject/FixedUpdate.md

24 lines
550 B
Markdown

# GameObject::FixedUpdate
向当前对象及其子树分发固定步长 `FixedUpdate()`
```cpp
void FixedUpdate();
```
## 行为说明
当前实现会:
- 若对象不处于 `active in hierarchy`,直接返回
- 对所有已启用普通组件调用 `FixedUpdate()`
- 递归对子对象调用 `FixedUpdate()`
它本身不接收 fixed delta 参数;固定步长配置由更上层运行时或场景驱动决定。
## 相关文档
- [Update](Update.md)
- [LateUpdate](LateUpdate.md)
- [Scene::FixedUpdate](../../Scene/Scene/FixedUpdate.md)