Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector2D.Transform

Morten Aune Lyrstad edited this page Apr 16, 2022 · 22 revisions

IndexNamespace IndexVector2D

Summary

public static Vector2D Transform(Vector2D position, Matrix matrix)

Transforms the vector (x, y, 0, 1) by the specified matrix.

Returns

Vector2D

Parameters

Summary

public static void Transform(ref Vector2D position, ref Matrix matrix, out Vector2D result)

Transforms a Vector2D by the given Matrix.

Parameters

Summary

public static Vector2D Transform(Vector2D value, Quaternion rotation)

Transforms a single Vector2D, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.

Returns

Vector2D

Parameters

Summary

public static void Transform(ref Vector2D value, ref Quaternion rotation, out Vector2D result)

Transforms a Vector2D, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.

Parameters

Summary

public static void Transform(Vector2D[] sourceArray, ref Matrix matrix, Vector2D[] destinationArray)

Transforms an array of Vector2s by a specified Matrix.

Parameters

Summary

public static void Transform(Vector2D[] sourceArray, int sourceIndex, ref Matrix matrix, Vector2D[] destinationArray, int destinationIndex, int length)

Transforms a specified range in an array of Vector2s by a specified Matrix and places the results in a specified range in a destination array.

Parameters

Summary

public static void Transform(Vector2D[] sourceArray, ref Quaternion rotation, Vector2D[] destinationArray)

Transforms an array of Vector2s by a specified Quaternion.

Parameters

Summary

public static void Transform(Vector2D[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector2D[] destinationArray, int destinationIndex, int length)

Transforms a specified range in an array of Vector2s by a specified Quaternion and places the results in a specified range in a destination array.

Parameters

Clone this wiki locally