GetTranslation (SITransformation)

Description

Returns the translation vector of this transformation in a 3D vector.

Scripting Syntax

    SITransformation.GetTranslation( vTrans )

C# Syntax

    SITransformation.GetTranslation( SIVector3 io_pTransVect );

Parameters

Parameter | Type | Description
vTrans [in/out] | SIVector3 | 3D vector filled with the translation values

Examples

VBScript Example

    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

See Also

SITransformation.SetTranslation | SITransformation.PosX | SITransformation.PosY | SITransformation.PosZ
SIVector3 | SIMatrix3 | SIMatrix4 | SIRotation
SITransformation | SIQuaternion |  |

Autodesk Softimage v7.5