Matrix4x4.CreateFromAxisAngle(Vector3, Single) Matrix4x4.CreateFromAxisAngle(Vector3, Single) Matrix4x4.CreateFromAxisAngle(Vector3, Single) Matrix4x4.CreateFromAxisAngle(Vector3, Single) Method

Definition

Erstellt eine Matrix, die um einen beliebigen Vektor rotiert.Creates a matrix that rotates around an arbitrary vector.

public:
 static System::Numerics::Matrix4x4 CreateFromAxisAngle(System::Numerics::Vector3 axis, float angle);
public static System.Numerics.Matrix4x4 CreateFromAxisAngle (System.Numerics.Vector3 axis, float angle);
static member CreateFromAxisAngle : System.Numerics.Vector3 * single -> System.Numerics.Matrix4x4
Public Shared Function CreateFromAxisAngle (axis As Vector3, angle As Single) As Matrix4x4

Parameter

axis
Vector3 Vector3 Vector3 Vector3

Die Rotationsachse.The axis to rotate around.

angle
Single Single Single Single

Der Winkel der Drehung um axis im Bogenmaß.The angle to rotate around axis, in radians.

Gibt zurück

Die Rotationsmatrix.The rotation matrix.

Gilt für: