SITransformation.SetRotationFromAxisAngle

説明

この変換の回転部分を、軸/角表現を使用して設定します。

C#構文

SITransformation.SetRotationFromAxisAngle( SIVector3 in_pAxis, Double in_dAngle );

スクリプト構文

SITransformation.SetRotationFromAxisAngle( in_pAxis, in_dAngle );

パラメータ

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

VBScript の例

dim t1, axis

' Create transformation.

set t1 = XSIMath.CreateTransform

' Create 3D vector.

set axis = XSIMath.CreateVector3

axis.Set 1.0, 0.0, 0.0

t1.SetRotationFromAxisAngle axis, 1.5

関連項目

SITransformation.GetRotationAxisAngle SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion