## SITransformation.SetScaling

### Description

Sets the scaling of this transformation by getting the values from an SIVector3.

### C# Syntax

    SITransformation.SetScaling( SIVector3 in_pScale );

### Scripting Syntax

    SITransformation.SetScaling( in_pScale );

### Parameters

Parameter | Type | Description
--- | --- | ---
in_pScale | SIVector3 | 3D vector containing 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.GetScaling SITransformation.SclX SITransformation.SclY SITransformation.SclZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion