docs: sync api and planning docs
This commit is contained in:
@@ -1,30 +1,25 @@
|
||||
# TransformComponent::UpdateWorldTransform
|
||||
|
||||
更新运行时状态。
|
||||
**命名空间**: `XCEngine::Components`
|
||||
|
||||
**类型**: `method`
|
||||
|
||||
**头文件**: `XCEngine/Components/TransformComponent.h`
|
||||
|
||||
## 签名
|
||||
|
||||
```cpp
|
||||
void UpdateWorldTransform() const;
|
||||
```
|
||||
|
||||
该方法声明于 `XCEngine/Components/TransformComponent.h`,当前页面用于固定 `TransformComponent` 类目录下的方法级 canonical 路径。
|
||||
## 作用
|
||||
|
||||
**参数:** 无。
|
||||
执行一次 `UpdateWorldTransform` 更新。
|
||||
|
||||
**返回:** `void` - 无返回值。
|
||||
## 当前实现
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
#include <XCEngine/Components/TransformComponent.h>
|
||||
|
||||
void Example() {
|
||||
XCEngine::Components::TransformComponent object;
|
||||
// 根据上下文补齐参数后调用 TransformComponent::UpdateWorldTransform(...)。
|
||||
(void)object;
|
||||
}
|
||||
```
|
||||
- 具体定义位于 `engine/src/Components/TransformComponent.cpp`。
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [返回类总览](TransformComponent.md)
|
||||
- [返回模块目录](../Components.md)
|
||||
- [TransformComponent](TransformComponent.md)
|
||||
|
||||
Reference in New Issue
Block a user