次の方法で共有


Vector4.Transform Method (Vector4[], Matrix, Vector4 )

Transforms an array of Vector4s by a specified Matrix.

Syntax

'Declaration
Public Shared Sub Transform ( _
         sourceArray As Vector4(), _
         ref matrix As Matrix, _
         destinationArray As Vector4() _
)
public static void Transform (
         Vector4[] sourceArray,
         ref Matrix matrix,
         Vector4[] destinationArray
)
public:
static void Transform(
         Vector4 sourceArray[],
         ref Matrix matrix,
         Vector4 destinationArray[]
)

Parameters

  • sourceArray
    Type: Vector4
    The array of Vector4s to transform.
  • matrix
    Type: Matrix
    The transform Matrix to apply.
  • destinationArray
    Type: Vector4
    The existing destination array into which the transformed Vector4s are written.

Exceptions

Exception type Condition
ArgumentException destinationArray is too small to contain the result.
ArgumentNullException sourceArray or destinationArray is null.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone