Matrix4x4.Decompose(Matrix4x4, Vector3, Quaternion, Vector3) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定されたスケール、回転、または平行移動行列からスケール、平行移動、回転の各コンポーネントを抽出しようとします。 戻り値は、操作が成功したかどうかを示します。
public:
static bool Decompose(System::Numerics::Matrix4x4 matrix, [Runtime::InteropServices::Out] System::Numerics::Vector3 % scale, [Runtime::InteropServices::Out] System::Numerics::Quaternion % rotation, [Runtime::InteropServices::Out] System::Numerics::Vector3 % translation);
public static bool Decompose(System.Numerics.Matrix4x4 matrix, out System.Numerics.Vector3 scale, out System.Numerics.Quaternion rotation, out System.Numerics.Vector3 translation);
static member Decompose : System.Numerics.Matrix4x4 * Vector3 * Quaternion * Vector3 -> bool
Public Shared Function Decompose (matrix As Matrix4x4, ByRef scale As Vector3, ByRef rotation As Quaternion, ByRef translation As Vector3) As Boolean
パラメーター
- matrix
- Matrix4x4
ソース マトリックス。
- scale
- Vector3
このメソッドから制御が戻るときに、操作が成功した場合の変換マトリックスのスケーリング コンポーネントが格納されます。
- rotation
- Quaternion
このメソッドから制御が戻るときに、操作が成功した場合に変換行列の回転コンポーネントが格納されます。
- translation
- Vector3
メソッドから制御が戻るときに、操作が成功した場合に変換行列の変換コンポーネントが格納されます。
返品
true
matrixが正常に分解された場合は、それ以外の場合はfalse。