SITransformation.SetTranslationFromValues

説明

この変換での x、Y、Z の移動値を設定します。

スクリプト 構文

SITransformation.SetTranslationFromValues( in_dX, in_dY, in_dZ );

パラメータ

パラメータ タイプ 詳細
in_dX Double X の移動値
in_dY Double Y の移動値
in_dZ Double Z の移動値

VBScript の例

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oTransform = oCube.Kinematics.Global.Transform
oTransform.SetTranslationFromValues 2, 2, 3
oCube.Kinematics.Global.Transform = oTransform

関連項目

SITransformation.GetTranslationValues SITransformation.GetTranslationValues2 SITransformation.SetTranslation