Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Matrix3x2.CreateRotation Method
Definition
- Namespace:
- System.Numerics
- Assemblies:
- System.Numerics.dll, System.Numerics.Vectors.dll
- Assemblies:
- netstandard.dll, System.Numerics.Vectors.dll
- Assembly:
- System.Numerics.Vectors.dll
- Assembly:
- System.Numerics.dll
- Assembly:
- netstandard.dll
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 rotation matrix.
Overloads
| Name | Description |
|---|---|
| CreateRotation(Single) |
Creates a rotation matrix using the given rotation in radians. |
| CreateRotation(Single, Vector2) |
Creates a rotation matrix using the specified rotation in radians and a center point. |
CreateRotation(Single)
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
Creates a rotation matrix using the given rotation in radians.
public:
static System::Numerics::Matrix3x2 CreateRotation(float radians);
public static System.Numerics.Matrix3x2 CreateRotation(float radians);
static member CreateRotation : single -> System.Numerics.Matrix3x2
Public Shared Function CreateRotation (radians As Single) As Matrix3x2
Parameters
- radians
- Single
The amount of rotation, in radians.
Returns
The rotation matrix.
Applies to
CreateRotation(Single, Vector2)
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
- Source:
- Matrix3x2.cs
Creates a rotation matrix using the specified rotation in radians and a center point.
public:
static System::Numerics::Matrix3x2 CreateRotation(float radians, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateRotation(float radians, System.Numerics.Vector2 centerPoint);
static member CreateRotation : single * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateRotation (radians As Single, centerPoint As Vector2) As Matrix3x2
Parameters
- radians
- Single
The amount of rotation, in radians.
- centerPoint
- Vector2
The center point.
Returns
The rotation matrix.
Applies to
Feedback
Was this page helpful?
