共用方式為


Vector3.TransformCoordinate Method (Vector3, Matrix)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Transforms the specified 3-D vector using the specified matrix, projecting the result back into w = 1.

Namespace:  Microsoft.WindowsMobile.DirectX
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Shared Function TransformCoordinate ( _
    source As Vector3, _
    sourceMatrix As Matrix _
) As Vector3
'Usage
Dim source As Vector3
Dim sourceMatrix As Matrix
Dim returnValue As Vector3

returnValue = Vector3.TransformCoordinate(source, _
    sourceMatrix)
public static Vector3 TransformCoordinate(
    Vector3 source,
    Matrix sourceMatrix
)
public:
static Vector3 TransformCoordinate(
    Vector3 source, 
    Matrix sourceMatrix
)
static member TransformCoordinate : 
        source:Vector3 * 
        sourceMatrix:Matrix -> Vector3 

Parameters

Return Value

Type: Microsoft.WindowsMobile.DirectX.Vector3
A Vector3 structure that represents the results of the method.

Remarks

This method returns the result of transforming the source (x, y, z, 1) using the matrix sourceMatrix, projecting the result back into w = 1.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Vector3 Structure

Vector3 Members

TransformCoordinate Overload

Microsoft.WindowsMobile.DirectX Namespace