Returns the translation vector of this transformation in a 3D vector.
SITransformation.GetTranslation( SIVector3 io_pTransVect ); |
SITransformation.GetTranslation( io_pTransVect ); |
Parameter | Type | Description |
---|---|---|
io_pTransVect | SIVector3 | 3D vector filled with the translation values |
dim t1, trans ' Create transformation. set t1 = XSIMath.CreateTransform ' Create 3D vector. set trans = XSIMath.CreateVector3 'Do something on t1 'Then get the translation vector t1.GetTranslation trans |