Normalize (SIVector3)
Description
Sets the value of this vector to the normalization of vector v.
Scripting Syntax
SIVector3.Normalize( v )
C# Syntax
Int32 SIVector3.Normalize( SIVector3 in_pVector );Parameters
|
Parameter |
Type |
Description |
|
v |
Operand vector |
Return Value
Boolean True if the normalization has been computed; otherwise False.
Examples
VBScript Example
dim v1, v2 ' Create 3D vectors. set v1 = XSIMath.CreateVector3 set v2 = XSIMath.CreateVector3 v1.Set 12.0, 34.0, 43.0 if v2.Normalize( v1 ) then computation = TRUE else computation = FALSE end if
See Also
Autodesk Softimage v7.5