Share via


Matrix.Translation Method (Single, Single, Single)

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
)
public static function Translation(
    x : float, 
    y : float, 
    z : float
) : 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