SlimDX Documentation
RotationAxis Method (axis, angle)
NamespacesSlimDXMatrixRotationAxis(Vector3, Single)
Creates a matrix that rotates around an arbitary axis.
Declaration Syntax
C#
public static Matrix RotationAxis(
	Vector3 axis,
	float angle
)
Parameters
axis (Vector3)
The axis around which to rotate.
angle (Single)
Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Return Value
The created rotation matrix.

Assembly: SlimDX (Module: SlimDX) Version: 2.0.11.43