SITransformation.SetScalingFromValues

Description

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

Scripting Syntax

SITransformation.SetScalingFromValues( in_dX, in_dY, in_dZ );

Parameters

Parameter Type Description
in_dX Double X scaling value
in_dY Double Y scaling value
in_dZ 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