SITransformation.GetRotationAxisAngle

説明

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

警告:このメソッドは、JScript など、引数の参照渡しをサポートしないスクリプト言語では機能しません。代わりに SITransformation.GetRotationAxisAngle2 を使用する必要があります。

C#構文

SITransformation.GetRotationAxisAngle( SIVector3 io_pAxis, Object& io_pvarAngle );

スクリプト構文

SITransformation.GetRotationAxisAngle( io_pAxis, io_pvarAngle );

パラメータ

パラメータ タイプ 説明
io_pAxis SIVector3 回転の軸
io_pvarAngle Float ポイント値 回転の角(ラジアン)

VBScript の例

dim t1, axis

' Create transformation.

set t1 = XSIMath.CreateTransform

' Create 3D vector.

set axis = XSIMath.CreateVector3

'Do something on t1

t1.GetRotationAxisAngle axis, angle

関連項目

SITransformation.SetRotationFromAxisAngle SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion SITransformation.GetRotationAxisAngle2