SITransformation.SetTranslation

Description

Sets the translation of this transformation. The translation is defined by a 3D vector.

Scripting Syntax

SITransformation.SetTranslation( in_pTransVect );

Parameters

Parameter Type Description
in_pTransVect SIVector3 3D vector of translation

Examples

VBScript Example

dim t1, trans
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D vector.
set trans = XSIMath.CreateVector3
trans.Set 1.0, 2.0, 3.0
t1.SetTranslation trans

See Also

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