Matrix4x4.CreateScale メソッド

定義

拡大縮小行列を作成します。Creates a scaling matrix.

オーバーロード

CreateScale(Vector3)

指定したベクトル拡大率から、拡大縮小行列を作成します。Creates a scaling matrix from the specified vector scale.

CreateScale(Single)

各軸上に一様に拡大縮小する一様拡大縮小行列を作成します。Creates a uniform scaling matrix that scale equally on each axis.

CreateScale(Vector3, Vector3)

特定の点を中心とした拡大縮小行列を作成します。Creates a scaling matrix with a center point.

CreateScale(Single, Vector3)

特定の点を中心に各軸上に一様に拡大縮小する一様拡大縮小行列を作成します。Creates a uniform scaling matrix that scales equally on each axis with a center point.

CreateScale(Single, Single, Single)

指定した X、Y、Z 成分による拡大縮小行列を作成します。Creates a scaling matrix from the specified X, Y, and Z components.

CreateScale(Single, Single, Single, Vector3)

特定の中心点をオフセットとする拡大縮小行列を作成します。Creates a scaling matrix that is offset by a given center point.

CreateScale(Vector3)

指定したベクトル拡大率から、拡大縮小行列を作成します。Creates a scaling matrix from the specified vector scale.

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

パラメーター

scales
Vector3

使用する拡大率。The scale to use.

戻り値

拡大縮小行列。The scaling matrix.

CreateScale(Single)

各軸上に一様に拡大縮小する一様拡大縮小行列を作成します。Creates a uniform scaling matrix that scale equally on each axis.

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

パラメーター

scale
Single

一様拡大率。The uniform scaling factor.

戻り値

拡大縮小行列。The scaling matrix.

CreateScale(Vector3, Vector3)

特定の点を中心とした拡大縮小行列を作成します。Creates a scaling matrix with a center point.

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

パラメーター

scales
Vector3

各軸上の拡大率を内容とするベクトル。The vector that contains the amount to scale on each axis.

centerPoint
Vector3

中心点。The center point.

戻り値

拡大縮小行列。The scaling matrix.

CreateScale(Single, Vector3)

特定の点を中心に各軸上に一様に拡大縮小する一様拡大縮小行列を作成します。Creates a uniform scaling matrix that scales equally on each axis with a center point.

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

パラメーター

scale
Single

一様拡大率。The uniform scaling factor.

centerPoint
Vector3

中心点。The center point.

戻り値

拡大縮小行列。The scaling matrix.

CreateScale(Single, Single, Single)

指定した X、Y、Z 成分による拡大縮小行列を作成します。Creates a scaling matrix from the specified X, Y, and Z components.

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

パラメーター

xScale
Single

X 軸方向の拡大縮小値。The value to scale by on the X axis.

yScale
Single

Y 軸方向の拡大縮小値。The value to scale by on the Y axis.

zScale
Single

Z 軸方向の拡大縮小値。The value to scale by on the Z axis.

戻り値

拡大縮小行列。The scaling matrix.

CreateScale(Single, Single, Single, Vector3)

特定の中心点をオフセットとする拡大縮小行列を作成します。Creates a scaling matrix that is offset by a given center point.

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

パラメーター

xScale
Single

X 軸方向の拡大縮小値。The value to scale by on the X axis.

yScale
Single

Y 軸方向の拡大縮小値。The value to scale by on the Y axis.

zScale
Single

Z 軸方向の拡大縮小値。The value to scale by on the Z axis.

centerPoint
Vector3

中心点。The center point.

戻り値

拡大縮小行列。The scaling matrix.

適用対象