Matrix3x2.CreateSkew 方法
定义
创建斜矩阵。Creates a skew matrix.
重载
| CreateSkew(Single, Single) |
从指定角度(以弧度表示)创建斜矩阵。Creates a skew matrix from the specified angles in radians. |
| CreateSkew(Single, Single, Vector2) |
从指定角度(以弧度表示)和中心点创建斜矩阵。Creates a skew matrix from the specified angles in radians and a center point. |
CreateSkew(Single, Single)
从指定角度(以弧度表示)创建斜矩阵。Creates a skew matrix from the specified angles in radians.
public:
static System::Numerics::Matrix3x2 CreateSkew(float radiansX, float radiansY);
public static System.Numerics.Matrix3x2 CreateSkew (float radiansX, float radiansY);
static member CreateSkew : single * single -> System.Numerics.Matrix3x2
Public Shared Function CreateSkew (radiansX As Single, radiansY As Single) As Matrix3x2
参数
- radiansX
- Single
X 角度(以弧度表示)。The X angle, in radians.
- radiansY
- Single
Y 角度(以弧度表示)。The Y angle, in radians.
返回
斜矩阵。The skew matrix.
适用于
CreateSkew(Single, Single, Vector2)
从指定角度(以弧度表示)和中心点创建斜矩阵。Creates a skew matrix from the specified angles in radians and a center point.
public:
static System::Numerics::Matrix3x2 CreateSkew(float radiansX, float radiansY, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateSkew (float radiansX, float radiansY, System.Numerics.Vector2 centerPoint);
static member CreateSkew : single * single * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateSkew (radiansX As Single, radiansY As Single, centerPoint As Vector2) As Matrix3x2
参数
- radiansX
- Single
X 角度(以弧度表示)。The X angle, in radians.
- radiansY
- Single
Y 角度(以弧度表示)。The Y angle, in radians.
- centerPoint
- Vector2
中心点。The center point.
返回
斜矩阵。The skew matrix.