FMatrix4
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.csporter.helpers.Struct, java.io.Serializable
public final class FMatrix4 implements Struct<FMatrix4>, Serializable
Matrix 4x4 with all component in float type
Constructors
Constructor | Description |
---|---|
FMatrix4(float 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) | Initialize the instance of FMatrix4 |
FMatrix4(Matrix4 mat) | Initialize the instance of FMatrix4 from a Matrix4 instance. |
FMatrix4(FVector4 r0, FVector4 r1, FVector4 r2, FVector4 r3) | Constructs matrix from 4 rows. |
FMatrix4() |
Fields
Field | Description |
---|---|
IDENTITY | The identity matrix |
m00 | The m00. |
m01 | The m01. |
m02 | The m02. |
m03 | The m03. |
m10 | The m10. |
m11 | The m11. |
m12 | The m12. |
m13 | The m13. |
m20 | The m20. |
m21 | The m21. |
m22 | The m22. |
m23 | The m23. |
m30 | The m30. |
m31 | The m31. |
m32 | The m32. |
m33 | The m33. |
Methods
Method | Description |
---|---|
clone() | |
concatenate(FMatrix4 m2) | Concatenates the two matrices |
concatenate(Matrix4 m2) | Concatenates the two matrices |
copyFrom(FMatrix4 src) | |
equals(Object obj) | |
getClass() | |
hashCode() | |
inverse() | Calculate the inverse matrix of current instance. |
mul(FMatrix4 left, FMatrix4 right) | Concatenate the two matrices |
mul(FMatrix4 lhs, float v) | Multiply the matrix and double value |
notify() | |
notifyAll() | |
toString() | |
transpose() | Transposes this instance. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
FMatrix4(float 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)
public FMatrix4(float 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)
Initialize the instance of FMatrix4
Parameters:
Parameter | Type | Description |
---|---|---|
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(Matrix4 mat)
public FMatrix4(Matrix4 mat)
Initialize the instance of FMatrix4 from a Matrix4 instance.
Parameters:
Parameter | Type | Description |
---|---|---|
mat | Matrix4 |
FMatrix4(FVector4 r0, FVector4 r1, FVector4 r2, FVector4 r3)
public FMatrix4(FVector4 r0, FVector4 r1, FVector4 r2, FVector4 r3)
Constructs matrix from 4 rows.
Parameters:
Parameter | Type | Description |
---|---|---|
r0 | FVector4 | R0. |
r1 | FVector4 | R1. |
r2 | FVector4 | R2. |
r3 | FVector4 | R3. |
FMatrix4()
public FMatrix4()
IDENTITY
public static final FMatrix4 IDENTITY
The identity matrix
m00
public float m00
The m00.
m01
public float m01
The m01.
m02
public float m02
The m02.
m03
public float m03
The m03.
m10
public float m10
The m10.
m11
public float m11
The m11.
m12
public float m12
The m12.
m13
public float m13
The m13.
m20
public float m20
The m20.
m21
public float m21
The m21.
m22
public float m22
The m22.
m23
public float m23
The m23.
m30
public float m30
The m30.
m31
public float m31
The m31.
m32
public float m32
The m32.
m33
public float m33
The m33.
clone()
public FMatrix4 clone()
Returns: FMatrix4
concatenate(FMatrix4 m2)
public FMatrix4 concatenate(FMatrix4 m2)
Concatenates the two matrices
Parameters:
Parameter | Type | Description |
---|---|---|
m2 | FMatrix4 | M2. |
Returns: FMatrix4 - New matrix4
concatenate(Matrix4 m2)
public FMatrix4 concatenate(Matrix4 m2)
Concatenates the two matrices
Parameters:
Parameter | Type | Description |
---|---|---|
m2 | Matrix4 | M2. |
Returns: FMatrix4 - New matrix4
copyFrom(FMatrix4 src)
public void copyFrom(FMatrix4 src)
Parameters:
Parameter | Type | Description |
---|---|---|
src | FMatrix4 |
equals(Object obj)
public boolean equals(Object obj)
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public int hashCode()
Returns: int
inverse()
public FMatrix4 inverse()
Calculate the inverse matrix of current instance.
Returns: FMatrix4 - Inverse matrix4
mul(FMatrix4 left, FMatrix4 right)
public static FMatrix4 mul(FMatrix4 left, FMatrix4 right)
Concatenate the two matrices
Parameters:
Parameter | Type | Description |
---|---|---|
left | FMatrix4 | |
right | FMatrix4 |
Returns: FMatrix4
mul(FMatrix4 lhs, float v)
public static FMatrix4 mul(FMatrix4 lhs, float v)
Multiply the matrix and double value
Parameters:
Parameter | Type | Description |
---|---|---|
lhs | FMatrix4 | Lhs. |
v | float | V. |
Returns: FMatrix4 - Result matrix
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
transpose()
public FMatrix4 transpose()
Transposes this instance.
Returns: FMatrix4 - The transposed matrix.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |