SITransformation.SetTranslationFromValues

説明

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

C#構文

SITransformation.SetTranslationFromValues( Double in_dX, Double in_dY, Double in_dZ );

スクリプト構文

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