27 lines
460 B
Markdown
27 lines
460 B
Markdown
# ResourcePath::GetFullPath
|
|
|
|
```cpp
|
|
Containers::String GetFullPath() const
|
|
```
|
|
|
|
获取完整路径。
|
|
|
|
**详细描述:**
|
|
|
|
返回存储的完整路径字符串。
|
|
|
|
**返回:** `Containers::String`,完整路径
|
|
|
|
**复杂度:** O(1)
|
|
|
|
**示例:**
|
|
|
|
```cpp
|
|
ResourcePath path("textures/player.png");
|
|
Containers::String fullPath = path.GetFullPath(); // "textures/player.png"
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [ResourcePath 总览](resourcepath.md) - 返回类总览
|