Tesla Graphics Engine Documentation (January 2012)
FromTranslation Method (x, y, z)
Tesla
►
Tesla.Math
►
Matrix
►
FromTranslation(Single, Single, Single)
C#
Creates a translation matrix from the supplied values.
Declaration Syntax
C#
public
static
Matrix
FromTranslation
(
float
x
,
float
y
,
float
z
)
Parameters
x
(
Single
)
Amount to translate along x axis
y
(
Single
)
Amount to translate along y axis
z
(
Single
)
Amount to translate along z axis
Return Value
Resulting translation matrix
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)