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