Sets the scaling of this transformation by getting the values from an SIVector3.
SITransformation.SetScaling( SIVector3 in_pScale ); |
SITransformation.SetScaling( in_pScale ); |
Parameter | Type | Description |
---|---|---|
in_pScale | SIVector3 | 3D vector containing the X, Y and Z scaling values |
dim t1, inScale, outScale ' Create transformation. set t1 = XSIMath.CreateTransform ' Create 3D vectors. set inScale = XSIMath.CreateVector3(1.0, 2.0, 3.0) set outScale = XSIMath.CreateVector3 t1.SetScaling inScale t1.GetScaling outScale |