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

VRageMath.Vector2.Transform

Malware edited this page Dec 24, 2018 · 22 revisions

IndexVector2

Vector2 Transform(Vector2 position, Matrix matrix)

Summary

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

void Transform(ref Vector2 position, ref Matrix matrix, ref Vector2 result)

Summary

Transforms a Vector2 by the given Matrix.

Vector2 Transform(Vector2 value, Quaternion rotation)

Summary

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

void Transform(ref Vector2 value, ref Quaternion rotation, ref Vector2 result)

Summary

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

void Transform(Vector2[] sourceArray, ref Matrix matrix, Vector2[] destinationArray)

Summary

Transforms an array of Vector2s by a specified Matrix.

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

Summary

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.

void Transform(Vector2[] sourceArray, ref Quaternion rotation, Vector2[] destinationArray)

Summary

Transforms an array of Vector2s by a specified Quaternion.

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

Summary

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.

Clone this wiki locally