SIVector3.AddInPlace

Description

Adds the input vector to this one: this = this + v

C# Syntax

SIVector3.AddInPlace( SIVector3 in_pVector );

Scripting Syntax

SIVector3.AddInPlace( 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.AddInPlace v2

See Also

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