## SIVector3.SubInPlace

### Description

Subtracts the input vector (v) from this one: this = this - v

### C# Syntax

    SIVector3.SubInPlace( SIVector3 in_pVector );

### Scripting Syntax

    SIVector3.SubInPlace( v );

### Parameters

Parameter | Type | Description
--- | --- | ---
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(4.0, 5.0, 6.0)

    'v1 = v1 - v2

    v1.SubInPlace v2

### See Also

SIVector3.Sub SIVector3.Add SIVector3.AddInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion