Sets the translation of this transformation. The translation is defined by a 3D vector.
SITransformation.SetTranslation( SIVector3 in_pTransVect ); |
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 |
SITransformation.GetTranslation SITransformation.PosX SITransformation.PosY SITransformation.PosZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion