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