Vector3d.TransformPerspective 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
TransformPerspective(Vector3d, Matrix4d, Vector3d) |
Transform a Vector3d by the given Matrix, and project the resulting Vector4d back to a Vector3d |
TransformPerspective(Vector3d, Matrix4d) |
TransformPerspective(Vector3d, Matrix4d, Vector3d)
Transform a Vector3d by the given Matrix, and project the resulting Vector4d back to a Vector3d
public static void TransformPerspective (ref OpenTK.Vector3d vec, ref OpenTK.Matrix4d mat, out OpenTK.Vector3d result);
static member TransformPerspective : * * -> unit
Parameters
- vec
- Vector3d
The vector to transform
- mat
- Matrix4d
The desired transformation
- result
- Vector3d
The transformed vector