SITransformation.SetTranslation

説明

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

C#構文

SITransformation.SetTranslation( SIVector3 in_pTransVect );

スクリプト構文

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