SITransformation.AddParentTranslation
 
 
 

SITransformation.AddParentTranslation

Description

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

C# Syntax

SITransformation.AddParentTranslation( SIVector3 in_pTranslation );

Scripting Syntax

SITransformation.AddParentTranslation( in_pTranslation );

Parameters

Parameter Type Description
in_pTranslation SIVector3 3D Transdlation vector

Examples

VBScript Example

dim t1, trans
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D vector.
set trans = XSIMath.CreateVector3(1.0, 2.0, 3.0)
t1.AddParentTranslation trans

See Also

SITransformation.AddLocalTranslation SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion