Get (SIVector3)
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.
Scripting Syntax
SIVector3.Get( X, Y, Z )
C# Syntax
SIVector3.Get( Object& out_pvarX, Object& out_pvarY, Object& out_pvarZ );
Parameters
|
Parameter |
Type |
Description |
|
X [out] |
Floating Point value |
X value to get in the vector |
|
Y [out] |
Floating Point value |
Y value to get in the vector |
|
Z [out] |
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
SOFTIMAGE|XSI v6.01