Method TransformVector
TransformVector(Vector3, Matrix4x4)
Transforms the supplied vector by the supplied matrix
Declaration
public static Vector3 TransformVector(Vector3 v, Matrix4x4 matrix)Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | v | The vector to transform |
| Matrix4x4 | matrix | The matrix to multiply by |
Returns
| Type | Description |
|---|---|
| Vector3 | Returns the vectors transformed by the matrix |