SITransformation.AddParentScaling
 
 
 

SITransformation.AddParentScaling

Description

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

C# Syntax

SITransformation.AddParentScaling( SIVector3 in_pScaling );

Scripting Syntax

SITransformation.AddParentScaling( 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 parent level
vScaling.Set 1.0, 2.0, 3.0
t1.AddParentScaling vScaling

See Also

SITransformation.AddLocalScaling SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion