SITransformation.SetTranslation

説明

この変換の移動を設定します。移動は3D ベクトルで定義されます。

スクリプト 構文

SITransformation.SetTranslation( in_pTransVect );

パラメータ

パラメータ タイプ 詳細
in_pTransVect SIVector3 移動の 3D ベクトル

VBScript の例

dim t1, trans
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D vector.
set trans = XSIMath.CreateVector3
trans.Set 1.0, 2.0, 3.0
t1.SetTranslation trans

関連項目

SITransformation.GetTranslation SITransformation.PosX SITransformation.PosY SITransformation.PosZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion