ScaleInPlace (SIVector3)
Description
Scales this vector by the input scalar (alpha): this = alpha * this
Scripting Syntax
SIVector3.ScaleInPlace( alpha )
C# Syntax
SIVector3.ScaleInPlace( Double in_dScalar );
Parameters
|
Parameter |
Type |
Description |
|
alpha |
Floating Point value |
Scalar multiplicator |
Examples
VBScript Example
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
See Also
|
|
SOFTIMAGE|XSI v6.01