Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Matrix4x4.MultiplyVector

MultiplyVector(v: Vector3): Vector3;
Vector3 MultiplyVector(Vector3 v);
def MultiplyVector(v as Vector3) as Vector3

Description

Transforms a direction by this matrix.

This function is similar to MultiplyPoint; but it transforms directions and not positions. When transforming a direction, only the rotation part of the matrix is taken into account.

See Also: MultiplyPoint, MultiplyPoint3x4.