SIVector3.ScaleInPlace

Description

Scales this vector by the input scalar (alpha): this = alpha * this

Scripting Syntax

SIVector3.ScaleInPlace( alpha );

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

SIVector3.Scale SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion