SIVector3.NegateInPlace

Description

Negates this vector: this = - this

Scripting Syntax

SIVector3.NegateInPlace();

Examples

VBScript Example

dim v1
' Create 3D vectors.
set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0)
v1.Set 1.0, 2.0, 3.0
'v1 = -v1
v1.NegateInPlace

See Also

SIVector3.Negate SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion