27 lines
445 B
Markdown
27 lines
445 B
Markdown
# TransformComponent::GetRotation
|
|
|
|
**命名空间**: `XCEngine::Components`
|
|
|
|
**类型**: `method`
|
|
|
|
**头文件**: `XCEngine/Components/TransformComponent.h`
|
|
|
|
## 签名
|
|
|
|
```cpp
|
|
Math::Quaternion GetRotation() const;
|
|
```
|
|
|
|
## 作用
|
|
|
|
执行 `UpdateWorldTransform(...)` 相关流程。
|
|
|
|
## 当前实现
|
|
|
|
- 当前实现会调用 `UpdateWorldTransform`。
|
|
|
|
## 相关文档
|
|
|
|
- [TransformComponent](TransformComponent.md)
|
|
- [SetRotation](SetRotation.md)
|