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
- x
Type: System.Single
X-coordinate offset.
- y
Type: System.Single
Y-coordinate offset.
- z
Type: System.Single
Z-coordinate offset.
Return Value
Type: Microsoft.WindowsMobile.DirectX.Matrix
A Matrix structure that contains the x-coordinate, y-coordinate, and z-coordinate offsets.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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