Sets the X, Y and Z scaling values for this transformation.
SITransformation.SetScalingFromValues( Double in_dX, Double in_dY, Double in_dZ ); |
SITransformation.SetScalingFromValues( in_dX, in_dY, in_dZ ); |
Parameter | Type | Description |
---|---|---|
in_dX | Double | X scaling value |
in_dY | Double | Y scaling value |
in_dZ | Double | Z scaling value |
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface") set oTransform = oCube.Kinematics.Global.Transform oTransform.SetScalingFromValues 0.90715667311412, 0.6, 1 oCube.Kinematics.Global.Transform = oTransform |