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

VRageMath.Vector3.Transform

Morten Aune Lyrstad edited this page Apr 13, 2023 · 23 revisions

IndexNamespace IndexVector3

Summary

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

Transforms a source array of Vector3s by a specified Quaternion rotation and writes the results to an existing destination array.

Parameters

Summary

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

Applies a specified Quaternion rotation to a specified range of an array of Vector3s and writes the results into a specified range of a destination array.

Parameters

Summary

public static Vector3 Transform(Vector3 position, Matrix matrix)

Transforms a 3D vector by the given matrix.

Returns

Vector3

Parameters

Summary

public static Vector3D Transform(Vector3 position, MatrixD matrix)

Transforms a 3D vector by the given matrix.

Returns

Vector3D

Parameters

Summary

public static Vector3 Transform(Vector3 position, ref Matrix matrix)

Returns

Vector3

Parameters

Summary

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

Transforms a Vector3 by the given Matrix.

Parameters

Summary

public static void Transform(ref Vector3 position, ref MatrixI matrix, out Vector3 result)

Parameters

Summary

public static Vector3 Transform(Vector3 value, Quaternion rotation)

Transforms a Vector3 by a specified Quaternion rotation.

Returns

Vector3

Parameters

Summary

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

Transforms a Vector3 by a specified Quaternion rotation.

Parameters

Summary

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

Transforms a source array of Vector3s by a specified Matrix and writes the results to an existing destination array.

Parameters

Summary

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

Applies a specified transform Matrix to a specified range of an array of Vector3s and writes the results into a specified range of a destination array.

Parameters

Clone this wiki locally