Sets the X, Y and Z translation values for this transformation.
SITransformation.SetTranslationFromValues( Double in_dX, Double in_dY, Double in_dZ ); |
SITransformation.SetTranslationFromValues( in_dX, in_dY, in_dZ ); |
Parameter | Type | Description |
---|---|---|
in_dX | Double | X translation value |
in_dY | Double | Y translation value |
in_dZ | Double | Z translation value |
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface") set oTransform = oCube.Kinematics.Global.Transform oTransform.SetTranslationFromValues 2, 2, 3 oCube.Kinematics.Global.Transform = oTransform |