MultiplyVector(Vector3)
Transforms a direction by this matrix.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Vector3 MultiplyVector(Vector3 vector)
Parameters
Returns
Type | Description |
|---|---|
| Vector3 |
Remarks
This function is similar to Matrix4x4.MultiplyPoint; but it transforms directions and not positions. When transforming a direction, only the rotation part of the matrix is taken into account.
Additional Resources: Matrix4x4.MultiplyPoint, Matrix4x4.MultiplyPoint3x4.