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

271 B

Vector4::One

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

static Vector4 One()

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

复杂度: O(1)

示例:

Vector4 unit = Vector4::One();

相关文档