SIVector3.MulByMatrix4InPlace

Description

Right-multiplies this vector by the matrix m in place: this = this . m

C# Syntax

SIVector3.MulByMatrix4InPlace( SIMatrix4 in_pMatrix );

Scripting Syntax

SIVector3.MulByMatrix4InPlace( m );

Parameters

Parameter Type Description
m SIMatrix4 Operand matrix

Examples

VBScript Example

dim v1, m1
' Create 3D vector.
set v1 = XSIMath.CreateVector3
' Create 4x4 matrix.
set m1 = XSIMath.CreateMatrix4
v1.Set 1.0, 2.0, 3.0
m1.SetIdentity
v1.MulByMatrix4InPlace m1

See Also

SIVector3.MulByMatrix3 SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion