Bagikan melalui


Vector3.Transform Method

Transforms a Vector3 or array of Vector3s by a specified Matrix or Quaternion.

Overload List

Name Description
Vector3.Transform (Vector3, Matrix) Transforms a 3D vector by the given matrix.
Vector3.Transform (Vector3, Matrix, Vector3) Transforms a Vector3 by the given Matrix.
Vector3.Transform (Vector3, Quaternion) Transforms a Vector3 by a specified Quaternion rotation.
Vector3.Transform (Vector3, Quaternion, Vector3) Transforms a Vector3 by a specified Quaternion rotation.
Vector3.Transform (Vector3[], Int32, Matrix, Vector3[], Int32, Int32) 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.
Vector3.Transform (Vector3[], Int32, Quaternion, Vector3[], Int32, Int32) 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.
Vector3.Transform (Vector3[], Matrix, Vector3[]) Transforms a source array of Vector3s by a specified Matrix and writes the results to an existing destination array.
Vector3.Transform (Vector3[], Quaternion, Vector3[]) Transforms a source array of Vector3s by a specified Quaternion rotation and writes the results to an existing destination array.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace