SITransformation.SetTranslationFromValues

Description

Sets the X, Y and Z translation values for this transformation.

C# Syntax

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

Scripting Syntax

SITransformation.SetTranslationFromValues( in_dX, in_dY, in_dZ );

Parameters

Parameter Type Description
in_dX Double X translation value
in_dY Double Y translation value
in_dZ Double Z translation value

Examples

VBScript Example

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

See Also

SITransformation.GetTranslationValues SITransformation.GetTranslationValues2 SITransformation.SetTranslation