SITransformation.GetRotationAxisAngle2

説明

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

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

C#構文

Object SITransformation.GetRotationAxisAngle2( SIVector3 io_pAxis );

スクリプト構文

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