SIVector3.Get

Description

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

Note: This method uses output arguments. C# and some scripting languages (such as JScript and PerlScript) don't support arguments passed by reference. However, there is a alternate version of this method which is considered safe to use with C#, JScript and PerlScript: SIVector3.Get2.

C# Syntax

SIVector3.Get( Object& out_pvarX, Object& out_pvarY, Object& out_pvarZ );

Scripting Syntax

SIVector3.Get( X, Y, Z );

Parameters

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

Examples

VBScript Example

dim v1, x, y, z
' Create 3D vector.
set v1 = XSIMath.CreateVector3(2.0, 3.0 , 4.0)
v1.get x, y, z

See Also

SIVector3.SetNull SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion SIVector3.Get2