SITransformation.GetRotationAxisAngle2

説明

この変換の回転部分から、ベクトルの軸と角を抽出します。

注:このメソッドは、JScriptなど、引数の参照渡しをサポートしないスクリプト言語で使用する必要があります。出力引数の取得の詳細については、About Output Argument Arraysを参照してください。

スクリプト 構文

oFloat = SITransformation.GetRotationAxisAngle2( io_pAxis );

戻り値

角のFloat

パラメータ

パラメータ タイプ 詳細
io_pAxis SIVector3 回転の軸

JScript の例

var t, axis, angle
t = XSIMath.CreateTransform();
axis = XSIMath.CreateVector3();
angle = t.GetRotationAxisAngle2( axis );
Application.LogMessage( "Axis: " + axis.x +","+ axis.y +","+ axis.z );
Application.LogMessage( "Angle: " + angle );

関連項目

SITransformation.GetRotationAxisAngle