Scales this vector by the input scalar (alpha): this = alpha * this
SIVector3.ScaleInPlace( Double in_dScalar ); |
SIVector3.ScaleInPlace( alpha ); |
Parameter | Type | Description |
---|---|---|
alpha | Floating Point value | Scalar multiplicator |
dim v1 ' Create 3D vector. set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0) v1.Set 1.0, 2.0, 3.0 'v1 = 1.3 * v1 v1.ScaleInPlace 1.3 |