27 lines
502 B
Markdown
27 lines
502 B
Markdown
# CameraComponent::Deserialize
|
|
|
|
**命名空间**: `XCEngine::Components`
|
|
|
|
**类型**: `method`
|
|
|
|
**头文件**: `XCEngine/Components/CameraComponent.h`
|
|
|
|
## 签名
|
|
|
|
```cpp
|
|
void Deserialize(std::istream& is) override;
|
|
```
|
|
|
|
## 作用
|
|
|
|
执行 `getline`、`empty`、`find` 协同流程。
|
|
|
|
## 当前实现
|
|
|
|
- 会更新 `m_projectionType`、`m_depth`、`m_primary`、`m_clearMode`。
|
|
- 当前实现会调用 `getline`、`empty`、`find`、`substr`。
|
|
|
|
## 相关文档
|
|
|
|
- [CameraComponent](CameraComponent.md)
|