Returns the scaling orientation values of this transformation in an array. The values in the
array are ordered the same as the SITransformation.GetScalingOrientationXYZAngles
output parameters.
Note: This method must be used with scripting languages that don't
support arguments passed by reference such as JScript. For more information
on getting output arguments, see About Output Argument Arrays.
Object SITransformation.GetScalingOrientationXYZAngles2(); |
oArray = SITransformation.GetScalingOrientationXYZAngles2(); |
Array ordered as X, Y, Z
var t, array; t = XSIMath.CreateTransform(); var vbArr = new VBArray( t.GetScalingOrientationXYZAngles2() ); var array = vbArr.toArray(); Application.LogMessage( "Scaling/Orientation angles: " + array[0] +","+ array[1] +","+ array[2] ); |