Tesla Graphics Engine Documentation (January 2012)
FromTranslation Method (x, y, z, result)
Tesla
►
Tesla.Math
►
Matrix
►
FromTranslation(Single, Single, Single, Matrix
%
)
C#
Creates a translation matrix from the supplied values.
Declaration Syntax
C#
public
static
void
FromTranslation
(
float
x
,
float
y
,
float
z
,
out
Matrix
result
)
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
result
(
Matrix
%
)
Existing matrix to hold result
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)