Sets the translation of this transformation. The translation is defined by a 3D vector.
SITransformation.SetTranslation( in_pTransVect ); |
Parameter | Type | Description |
---|---|---|
in_pTransVect | SIVector3 | 3D vector of translation |
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 |