SITransformation.SclX

Introduced

v5.1

Description

Sets or returns the scaling in x of this transformation as a Double (floating-point value).

Examples

JScript Example

var oRoot = Application.ActiveProject.ActiveScene.Root;
var oCube = oRoot.AddGeometry("Cube","MeshSurface");
oTrans = oTrans = oCube.Kinematics.Local.Transform
//Change the scaling in x direction 
oTrans.SclX = 1.25 ;
oCube.Kinematics.Local.Transform = oTrans;

See Also

SITransformation.SclY SITransformation.SclZ SITransformation.GetScaling SITransformation.SetScaling