## SITransformation.GetTranslation

### Description

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

### C# Syntax

    SITransformation.GetTranslation( SIVector3 io_pTransVect );

### Scripting Syntax

    SITransformation.GetTranslation( io_pTransVect );

### Parameters

Parameter | Type | Description
--- | --- | ---
io_pTransVect | 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