SITransformation.GetScalingOrientationXYZAngles

Description

Returns the scaling orientation values of this transformation.

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: SITransformation.GetScalingOrientationXYZAngles2.

Scripting Syntax

SITransformation.GetScalingOrientationXYZAngles( out_pvarX, out_pvarY, out_pvarZ );

Parameters

Parameter Type Description
out_pvarX Double X scaling orientation angle
out_pvarY Double Y scaling orientation angle
out_pvarZ Double Z scaling orientation angle

Examples

VBScript Example

' set the transform with scaling values
set transfo = XSIMath.CreateTransform
transfo.SetScalingOrientationFromXYZAngles 2.0, 2.0, 4.0
' get back the scaling values
transfo.GetScalingOrientationXYZAngles sclX, sclY, sclZ
Application.LogMessage "scl X: " & sclX & " scl Y: " & sclY & " scl Z: " & sclZ

See Also

SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion SITransformation.GetScalingOrientationXYZAngles2