## SIVector3.Scale

### Description

Scales the input vector (v) by (alpha) store the result into this one: this = alpha * v

### C# Syntax

    SIVector3.Scale( Double in_dScalar, SIVector3 in_pVector );

### Scripting Syntax

    SIVector3.Scale( alpha, v );

### Parameters

Parameter | Type | Description
--- | --- | ---
alpha | Floating Point value | Scalar multiplicator
v | SIVector3 | Operand vector

### Examples

#### VBScript Example

    dim v1, v2

    ' Create 3D vectors.

    set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0)

    set v2 = XSIMath.CreateVector3

    v1.Set 1.0, 2.0, 3.0

    'v2 = 2.5 * v1

    v2.Scale 2.5, v1

### See Also

SIVector3.ScaleInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion