This version of Unity is unsupported.

Matrix4x4.MultiplyVector

Declaration

public Vector3 MultiplyVector(Vector3 vector);

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.