Matrix3x2.CreateRotation Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee maakt u een rotatiematrix.
Overloads
| Name | Description |
|---|---|
| CreateRotation(Single) |
Hiermee maakt u een rotatiematrix met behulp van de opgegeven rotatie in radialen. |
| CreateRotation(Single, Vector2) |
Hiermee maakt u een draaimatrix met behulp van de opgegeven draaiing in radialen en een middelpunt. |
CreateRotation(Single)
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
Hiermee maakt u een rotatiematrix met behulp van de opgegeven rotatie in radialen.
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
De hoeveelheid rotatie, in radialen.
Retouren
De draaimatrix.
Van toepassing op
CreateRotation(Single, Vector2)
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
- Bron:
- Matrix3x2.cs
Hiermee maakt u een draaimatrix met behulp van de opgegeven draaiing in radialen en een middelpunt.
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
De hoeveelheid rotatie, in radialen.
- centerPoint
- Vector2
Het middelpunt.
Retouren
De draaimatrix.