FbxSaveOptions
Matrix4 は、3次元空間でのアフィン変換に使用される4x4の倍精度行列です。次のものから返されます Transform.getTransformMatrix() と GlobalTransform.getTransformMatrix(),、および平行移動、回転、スケール(TRS)分解から構築できます。.
FbxSaveOptions: com.aspose.threed
FbxSaveOptions
| FbxSaveOptions | FbxSaveOptions |
|---|
Matrix4() | は単位行列を作成します |
Matrix4(double m00, double m01, ... double m33) | は16個の個別要素(行優先)から作成します |
静的フィールド
| FbxSaveOptions | FbxSaveOptions | FbxSaveOptions |
|---|
IDENTITY | Matrix4 | 4x4 の単位行列 |
公開フィールド(要素アクセス)
Matrix4 は使用します パブリックフィールド 要素アクセス用: m00, m01, … m33 (合計16フィールド、行優先レイアウト)。.
| フィールドパターン | FbxSaveOptions | FbxSaveOptions |
|---|
m00 … m33 | double | 個々の行列要素はパブリックフィールドとして公開されています。アクセスは mat.m00, mat.m01, など。. |
変換成分は最後の列にあります:: m03 (X), m13 (Y), m23 (Z).
FbxSaveOptions
| FbxSaveOptions | 戻り値の型 | FbxSaveOptions |
|---|
multiply(Matrix4 other) | Matrix4 | 行列の乗算;新しい行列を返します |
inverse() | Matrix4 | 逆行列を返します |
transpose() | Matrix4 | 転置行列を返します |
decompose(Vector3 translation, Vector3 scaling, Quaternion rotation) | boolean | スタブ: 常に返します false. 行列をTRS成分に分解することを意図していますが、まだ実装されていません。. |
determinant() | double | 行列の行列式を返します |
transformPoint(Vector3 point) | Vector3 | 点を変換します(完全な平行移動+回転+スケールを適用) |
transformDirection(Vector3 direction) | Vector3 | 方向ベクトルを変換します(回転+スケールを適用し、平行移動は無視) |
静的メソッド
| FbxSaveOptions | 戻り値の型 | FbxSaveOptions |
|---|
Matrix4.translate(Vector3 t) | Matrix4 | 平行移動行列を作成します |
Matrix4.translate(double x, double y, double z) | Matrix4 | 成分から平行移動行列を作成します |
Matrix4.scale(Vector3 s) | Matrix4 | スケール行列を作成します |
Matrix4.scale(double x, double y, double z) | Matrix4 | 成分からスケール行列を作成します |
Matrix4.rotateFromQuaternion(Quaternion q) | Matrix4 | クォータニオンから回転行列を作成します |
FbxSaveOptions
参照