SITransformation.AddLocalTranslation

Description

Applies a translation defined in the local space of this transformation.

C# Syntax

SITransformation.AddLocalTranslation( SIVector3 in_pTranslation );

Scripting Syntax

SITransformation.AddLocalTranslation( vin_pTranslation );

Parameters

Parameter Type Description
vin_pTranslation SIVector3 3D Transdlation vector

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.AddLocalTranslation trans

See Also

SITransformation.AddParentTranslation SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion