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

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

 

 



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index