FMatrix4
概述
FMatrix4 是 Aspose.3D FOSS 中用于 Java 的类。继承自:Struct<FMatrix4>,Serializable。
FMatrix4 提供完整的 4×4 矩阵实现,具备用于 3D 变换的矩阵或向量的串联、转置、求逆和相乘方法。
此类为在 Java 程序中使用 FMatrix4 对象提供了 15 个方法。可用的方法包括:FMatrix4、clone、concatenate、copyFrom、equals、getIdentity、hashCode、inverse、mul、transpose。在安装了 Aspose.3D FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:identity。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
identity | FMatrix4 | 读取 | 获取单位矩阵。 |
方法
| 签名 | 描述 |
|---|---|
FMatrix4() | 在此 FMatrix4 实例上调用 FMatrix4。 |
FMatrix4(m00: float, m01: float, m02: float, m03: float, m10: float, m11: float, m12: float, m13: float, m20: float, m21: float, m22: float, m23: float, m30: float, m31: float, m32: float, m33: float) | 在此 FMatrix4 实例上调用 FMatrix4(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33)。 |
FMatrix4(mat: Matrix4) | 在此 FMatrix4 实例上调用 FMatrix4(mat)。 |
getIdentity() → FMatrix4 | 返回单位矩阵。 |
concatenate(m: FMatrix4) → FMatrix4 | 在此 FMatrix4 实例上调用 concatenate(m)。 |
concatenate(m: Matrix4) → FMatrix4 | 在此 FMatrix4 实例上调用 concatenate(m)。 |
transpose() → FMatrix4 | 在此 FMatrix4 实例上调用 transpose。 |
inverse() → FMatrix4 | 对该 FMatrix4 实例调用 inverse。 |
mul(lhs: FMatrix4, v: float) → FMatrix4 | 对该 FMatrix4 实例调用 mul(lhs, v)。 |
mul(lhs: FMatrix4, rhs: FMatrix4) → FMatrix4 | 对该 FMatrix4 实例调用 mul(lhs, rhs)。 |
mul(m: FMatrix4, v: FVector3) → FVector3 | 对该 FMatrix4 实例调用 mul(m, v)。 |
clone() → FMatrix4 | 在此 FMatrix4 实例上调用 clone。 |
copyFrom(other: FMatrix4) | 在此 FMatrix4 实例上调用 copyFrom(other)。 |
equals(obj: Object) → boolean | 在此 FMatrix4 实例上调用 equals(obj)。 |
hashCode() → int | 在此 FMatrix4 实例上调用 hashCode。 |