SetTranslation (SITransformation)
Description
Sets the translation of this transformation. The translation is defined by a 3D vector.
Scripting Syntax
SITransformation.SetTranslation( vTrans )
C# Syntax
SITransformation.SetTranslation( SIVector3 in_pTransVect );Parameters
|
Parameter |
Type |
Description |
|
vTrans |
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
|
|
|
Autodesk Softimage v7.5