SITransformation.GetTranslation

説明

この変換の移動ベクトルを、3D ベクトルで戻します。

C#構文

SITransformation.GetTranslation( SIVector3 io_pTransVect );

スクリプト構文

SITransformation.GetTranslation( io_pTransVect );

パラメータ

パラメータ タイプ 説明
io_pTransVect SIVector3 移動値からなる 3D ベクトル

VBScript の例

dim t1, trans

' Create transformation.

set t1 = XSIMath.CreateTransform

' Create 3D vector.

set trans = XSIMath.CreateVector3

'Do something on t1

'Then get the translation vector

t1.GetTranslation trans

関連項目

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