SITransformation.GetScaling
 
 
 

SITransformation.GetScaling

Description

Returns the scaling values of this transfomation in a 3D vector.

C# Syntax

SITransformation.GetScaling( SIVector3 io_pScale );

Scripting Syntax

SITransformation.GetScaling( io_pScale );

Parameters

Parameter Type Description
io_pScale SIVector3 3D vector filled with the X, Y and Z scaling values

Examples

VBScript Example

dim t1, inScale, outScale
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D vectors.
set inScale = XSIMath.CreateVector3(1.0, 2.0, 3.0)
set outScale = XSIMath.CreateVector3
t1.SetScaling inScale
t1.GetScaling outScale

See Also

SITransformation.SetScaling SITransformation.SclX SITransformation.SclY SITransformation.SclZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion