Vector4.Transform 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
Transform(Vector4, Matrix4) | |
Transform(Vector4, Quaternion) | |
Transform(Vector4, Matrix4, Vector4) |
Transform a Vector by the given Matrix |
Transform(Vector4, Quaternion, Vector4) |
Transform(Vector4, Matrix4)
Transform(Vector4, Quaternion)
public static OpenTK.Vector4 Transform (OpenTK.Vector4 vec, OpenTK.Quaternion quat);
static member Transform : OpenTK.Vector4 * OpenTK.Quaternion -> OpenTK.Vector4
Parameters
- vec
- Vector4
- quat
- Quaternion
Returns
Applies to
Transform(Vector4, Matrix4, Vector4)
Transform a Vector by the given Matrix
public static void Transform (ref OpenTK.Vector4 vec, ref OpenTK.Matrix4 mat, out OpenTK.Vector4 result);
static member Transform : * * -> unit
Parameters
- vec
- Vector4
The vector to transform
- mat
- Matrix4
The desired transformation
- result
- Vector4
The transformed vector
Applies to
Transform(Vector4, Quaternion, Vector4)
public static void Transform (ref OpenTK.Vector4 vec, ref OpenTK.Quaternion quat, out OpenTK.Vector4 result);
static member Transform : * * -> unit
Parameters
- vec
- Vector4
- quat
- Quaternion
- result
- Vector4