 | Matrix44FCreateTranslation Method (Single, Single, Single) |
Creates a translation matrix from the given values.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntaxpublic static Matrix44F CreateTranslation(
float x,
float y,
float z
)
Public Shared Function CreateTranslation (
x As Single,
y As Single,
z As Single
) As Matrix44F
public:
static Matrix44F CreateTranslation(
float x,
float y,
float z
)
static member CreateTranslation :
x : float32 *
y : float32 *
z : float32 -> Matrix44F
Parameters
- x
- Type: SystemSingle
The translation along the x-axis. - y
- Type: SystemSingle
The translation along the y-axis. - z
- Type: SystemSingle
The translation along the z-axis.
Return Value
Type:
Matrix44FA transformation matrix that translates vectors.
See Also