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