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

320 B

Vector2::One

static Vector2 One()

返回单位向量 (1, 1)。

返回: Vector2 - 值为 (1, 1) 的向量

线程安全:

异常: (无)

复杂度: O(1)

示例:

Vector2 unit = Vector2::One();

相关文档