SIVector3.Set

Description

Sets the X, Y and Z values of the vector.

C# Syntax

SIVector3.Set( Double in_dXValue, Double in_dYValue, Double in_dZValue );

Scripting Syntax

SIVector3.Set( X, Y, Z );

Parameters

Parameter Type Description
X Floating Point value X value to set in the vector
Y Floating Point value Y value to set in the vector
Z Floating Point value Z value to set in the vector

Examples

VBScript Example

dim v1
' Create 3D vector.
set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0)

See Also

SIVector3.SetNull SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion