docs: update resources API docs
This commit is contained in:
26
docs/api/resources/resourcepath/getfullpath.md
Normal file
26
docs/api/resources/resourcepath/getfullpath.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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) - 返回类总览
|
||||
Reference in New Issue
Block a user