Negate (SIVector3)
Description
Negates the input vector (v) store the result into this one: this = - v
Scripting Syntax
SIVector3.Negate( v )
C# Syntax
SIVector3.Negate( SIVector3 in_pVector );Parameters
|
Parameter |
Type |
Description |
|
v |
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 = -v1 v2.Negate v1
See Also
|
|
Autodesk Softimage v7.5