Files
XCEngine/docs/api/math/vector2/left.md
2026-03-20 02:35:15 +08:00

26 lines
328 B
Markdown

# Vector2::Left
```cpp
static Vector2 Left()
```
返回左方向向量 (-1, 0)。
**返回:** `Vector2` - 值为 (-1, 0) 的向量
**线程安全:**
**异常:** (无)
**复杂度:** O(1)
**示例:**
```cpp
Vector2 left = Vector2::Left();
```
## 相关文档
- [Vector2](vector2.md) - 返回类总览