語言

Matrix3x2.CreateScale 方法

定義

建立一個縮放矩陣。

多載

名稱 Description
CreateScale(Single, Single, Vector2)

建立一個縮放矩陣,並以給定中心點為準。

CreateScale(Single, Vector2)

建立一個與指定比例均勻縮放且偏移於指定中心的縮放矩陣。

CreateScale(Single, Single)

從指定的 X 與 Y 分量建立縮放矩陣。

CreateScale(Single)

建立一個與所定比例均勻縮放的縮放矩陣。

CreateScale(Vector2)

從指定的向量尺度建立縮放矩陣。

CreateScale(Vector2, Vector2)

從指定的向量縮放建立一個從指定中心點偏移的縮放矩陣。

CreateScale(Single, Single, Vector2)

來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs

建立一個縮放矩陣,並以給定中心點為準。

public:
 static System::Numerics::Matrix3x2 CreateScale(float xScale, float yScale, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateScale(float xScale, float yScale, System.Numerics.Vector2 centerPoint);
static member CreateScale : single * single * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (xScale As Single, yScale As Single, centerPoint As Vector2) As Matrix3x2

參數

xScale
Single

X 軸上的數值是要按比例調整的。

yScale
Single

這個數值在 Y 軸上要放大。

centerPoint
Vector2

中心點。

傳回

縮放矩陣。

適用於

CreateScale(Single, Vector2)

來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs

建立一個與指定比例均勻縮放且偏移於指定中心的縮放矩陣。

public:
 static System::Numerics::Matrix3x2 CreateScale(float scale, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateScale(float scale, System.Numerics.Vector2 centerPoint);
static member CreateScale : single * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scale As Single, centerPoint As Vector2) As Matrix3x2

參數

scale
Single

統一的比例尺。

centerPoint
Vector2

中心偏移。

傳回

縮放矩陣。

適用於

CreateScale(Single, Single)

來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs

從指定的 X 與 Y 分量建立縮放矩陣。

public:
 static System::Numerics::Matrix3x2 CreateScale(float xScale, float yScale);
public static System.Numerics.Matrix3x2 CreateScale(float xScale, float yScale);
static member CreateScale : single * single -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (xScale As Single, yScale As Single) As Matrix3x2

參數

xScale
Single

X 軸上的數值是要按比例調整的。

yScale
Single

這個數值在 Y 軸上要放大。

傳回

縮放矩陣。

適用於

CreateScale(Single)

來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs

建立一個與所定比例均勻縮放的縮放矩陣。

public:
 static System::Numerics::Matrix3x2 CreateScale(float scale);
public static System.Numerics.Matrix3x2 CreateScale(float scale);
static member CreateScale : single -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scale As Single) As Matrix3x2

參數

scale
Single

統一的比例尺。

傳回

縮放矩陣。

適用於

CreateScale(Vector2)

來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs

從指定的向量尺度建立縮放矩陣。

public:
 static System::Numerics::Matrix3x2 CreateScale(System::Numerics::Vector2 scales);
public static System.Numerics.Matrix3x2 CreateScale(System.Numerics.Vector2 scales);
static member CreateScale : System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scales As Vector2) As Matrix3x2

參數

scales
Vector2

使用體重計。

傳回

縮放矩陣。

適用於

CreateScale(Vector2, Vector2)

來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs
來源:
Matrix3x2.cs

從指定的向量縮放建立一個從指定中心點偏移的縮放矩陣。

public:
 static System::Numerics::Matrix3x2 CreateScale(System::Numerics::Vector2 scales, System::Numerics::Vector2 centerPoint);
public static System.Numerics.Matrix3x2 CreateScale(System.Numerics.Vector2 scales, System.Numerics.Vector2 centerPoint);
static member CreateScale : System.Numerics.Vector2 * System.Numerics.Vector2 -> System.Numerics.Matrix3x2
Public Shared Function CreateScale (scales As Vector2, centerPoint As Vector2) As Matrix3x2

參數

scales
Vector2

使用體重計。

centerPoint
Vector2

中心偏移。

傳回

縮放矩陣。

適用於