SITransformation.AddLocalRotation

説明

この変換のローカル空間に定義される回転r を適用します。

C#構文

SITransformation.AddLocalRotation( SIRotation in_pRotation, Int32 in_bIncrementEulerAngles );

スクリプト構文

SITransformation.AddLocalRotation( in_pRotation, [in_bIncrementEulerAngles] );

パラメータ

パラメータ タイプ 説明
in_pRotation SIRotation 適用する回転
in_bIncrementEulerAngles Boolean true の場合は、以前の角度をターゲットに使用して、結果として生じる回転のオイラー角を更新します。

デフォルト値: False

VBScript の例

dim t1, r1

' Create transformation.

set t1 = XSIMath.CreateTransform

' Create Rotation.

set r1 = XSIMath.CreateRotation

'Do something on t1 and r1

'Then add a rotation at the local level

t1.AddLocalRotation r1

関連項目

SITransformation.AddParentRotation SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion