Compartilhar via


Matrix.Translation Method (Single, Single, Single)

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

Builds a matrix using offsets specified by three values.

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

Syntax

'Declaration
Public Shared Function Translation ( _
    x As Single, _
    y As Single, _
    z As Single _
) As Matrix
'Usage
Dim x As Single
Dim y As Single
Dim z As Single
Dim returnValue As Matrix

returnValue = Matrix.Translation(x, _
    y, z)
public static Matrix Translation(
    float x,
    float y,
    float z
)
public:
static Matrix Translation(
    float x, 
    float y, 
    float z
)
static member Translation : 
        x:float32 * 
        y:float32 * 
        z:float32 -> Matrix 

Parameters

Return Value

Type: Microsoft.WindowsMobile.DirectX.Matrix
A Matrix structure that contains the x-coordinate, y-coordinate, and z-coordinate offsets.

.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

Matrix Structure

Matrix Members

Translation Overload

Microsoft.WindowsMobile.DirectX Namespace