SIQuaternion.Length

説明

このクォータニオンの長さを計算します。

スクリプト 構文

oFloat = SIQuaternion.Length();

戻り値

Float(このクォータニオンの長さ)

VBScript の例

dim q1
' Create Quaternion.
set q1 = XSIMath.CreateQuaternion(1.0, 1.0, 2.0, 3.0)
LengthOfQ1 = q1.Length

関連項目

SIQuaternion.LengthSquared SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion