Vector3d.TransformVector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TransformVector(Vector3d, Matrix4d) | |
TransformVector(Vector3d, Matrix4d, Vector3d) |
Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored. |
TransformVector(Vector3d, Matrix4d)
TransformVector(Vector3d, Matrix4d, Vector3d)
Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored.
public static void TransformVector (ref OpenTK.Vector3d vec, ref OpenTK.Matrix4d mat, out OpenTK.Vector3d result);
static member TransformVector : * * -> unit
Parameters
- vec
- Vector3d
The vector to transform
- mat
- Matrix4d
The desired transformation
- result
- Vector3d
The transformed vector