SetScalingFromValues (SITransformation)

Description

Sets the X, Y and Z scaling values for this transformation.

Scripting Syntax

SITransformation.SetScalingFromValues( X, Y, Z )

C# Syntax

SITransformation.SetScalingFromValues( Double in_dX, Double in_dY, Double in_dZ );

Parameters

Parameter

Type

Description

X

Double

X scaling value

Y

Double

Y scaling value

Z

Double

Z scaling value

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oTransform = oCube.Kinematics.Global.Transform
oTransform.SetScalingFromValues 0.90715667311412, 0.6, 1
oCube.Kinematics.Global.Transform = oTransform

See Also

SITransformation.GetScalingValues

SITransformation.GetScalingValues2

SITransformation.SetScaling



Autodesk Softimage v7.5