Matrix4x4.CreateFromAxisAngle(Vector3, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- axis
- Vector3
The axis to rotate around.
- angle
- Single
The angle to rotate around axis
, in radians.
Returns
The rotation matrix.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.