GetScalingOrientationXYZAngles (SITransformation)
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( X, Y, Z )
C# Syntax
SITransformation.GetScalingOrientationXYZAngles( Object& out_pvarX, Object& out_pvarY, Object& out_pvarZ );Parameters
|
Parameter |
Type |
Description |
|
X [out] |
X scaling orientation angle |
|
|
Y [out] |
Y scaling orientation angle |
|
|
Z [out] |
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
|
|
Autodesk Softimage v7.5