跳到主要内容

KQuaternion.length() method

求取这个四元数当成一个四维向量,求取它的欧几里得长度。

Computes the Euclidean length (straight-line length) of this quaternion, considered as a 4 dimensional vector.

Signature:

length(): number;

Returns:

number

返回欧几里得长度。

Return length.