SIVector3.Absolute

Description

Sets each component of the vector v to its absolute value and places the modified values into this vector.

C# Syntax

SIVector3.Absolute( SIVector3 in_pVector );

Scripting Syntax

SIVector3.Absolute( v );

Parameters

Parameter Type Description
v SIVector3 Operand vector

Examples

VBScript Example

dim v1
' Create 3D vectors.
set v1 = XSIMath.CreateVector3
set v2 = XSIMath.CreateVector3
v1.Set -1010.0, 1020.0, -1030.0
v2.Absolute v1

See Also

SIVector3.AbsoluteInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion