Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Matrix4x4   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Matrix4x4
  • All Members
  • Variables
  • inverse
  • isIdentity
  • this [int index]
  • this [int row, int column]
  • transpose
  • Functions
  • GetColumn
  • GetRow
  • MultiplyPoint
  • MultiplyPoint3x4
  • MultiplyVector
  • SetColumn
  • SetRow
  • SetTRS
  • ToString
  • Class Variables
  • identity
  • zero
  • Class Functions
  • operator *
  • Ortho
  • Perspective
  • Scale
  • TRS

Matrix4x4.MultiplyVector  

function MultiplyVector (v : Vector3) : 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.