Matrix4x4.CreateFromAxisAngle(Vector3, Single) メソッド

定義

任意のベクトルを中心とした回転を表す行列を作成します。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

パラメーター

axis
Vector3

回転の中心軸。The axis to rotate around.

angle
Single

axis を中心とする回転角度 (ラジアン)。The angle to rotate around axis, in radians.

戻り値

回転行列。The rotation matrix.

適用対象