Edit

Share via


Vector3d.TransformPosition Method

Definition

Overloads

TransformPosition(Vector3d, Matrix4d)
TransformPosition(Vector3d, Matrix4d, Vector3d)

Transform a Position by the given Matrix

TransformPosition(Vector3d, Matrix4d)

public static OpenTK.Vector3d TransformPosition (OpenTK.Vector3d pos, OpenTK.Matrix4d mat);
static member TransformPosition : OpenTK.Vector3d * OpenTK.Matrix4d -> OpenTK.Vector3d

Parameters

pos
Vector3d
mat
Matrix4d

Returns

Applies to

TransformPosition(Vector3d, Matrix4d, Vector3d)

Transform a Position by the given Matrix

public static void TransformPosition (ref OpenTK.Vector3d pos, ref OpenTK.Matrix4d mat, out OpenTK.Vector3d result);
static member TransformPosition :  *  *  -> unit

Parameters

pos
Vector3d

The position to transform

mat
Matrix4d

The desired transformation

result
Vector3d

The transformed position

Applies to