Tesla Graphics Engine Documentation (January 2012)
FromAxes Method (xAxis, yAxis, zAxis)
TeslaTesla.MathQuaternionFromAxes(Vector3, Vector3, Vector3)
Creates a quaternion that represents a rotation formed by three axes. It is assumed the axes are orthogonal to one another and represent a proper xAxis-hand system.
Declaration Syntax
C#
public static Quaternion FromAxes(
	Vector3 xAxis,
	Vector3 yAxis,
	Vector3 zAxis
)
Parameters
xAxis (Vector3)
X axis of the coordinate system (right)
yAxis (Vector3)
Y axis of the coordinate system (up)
zAxis (Vector3)
Z axis of the coordinate system (backward)
Return Value
Resulting quaternion

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)