SITransformation.AddLocalScaling
 
 
 

SITransformation.AddLocalScaling

Description

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

C# Syntax

SITransformation.AddLocalScaling( SIVector3 in_pScaling );

Scripting Syntax

SITransformation.AddLocalScaling( in_pScaling );

Parameters

Parameter Type Description
in_pScaling SIVector3 3D scaling vector

Examples

VBScript Example

dim t1, vScaling
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D vectors.
set vScaling = XSIMath.CreateVector3
'Do something with t1
'Then add a scaling at the local level
vScaling.Set 1.0, 2.0, 3.0
t1.AddLocalScaling vScaling

See Also

SITransformation.AddParentScaling SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion