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

ConstructorDescription
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

FieldDescription
IDENTITYThe identity matrix
m00The m00.
m01The m01.
m02The m02.
m03The m03.
m10The m10.
m11The m11.
m12The m12.
m13The m13.
m20The m20.
m21The m21.
m22The m22.
m23The m23.
m30The m30.
m31The m31.
m32The m32.
m33The m33.

Methods

MethodDescription
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:

ParameterTypeDescription
m00float
m01float
m02float
m03float
m10float
m11float
m12float
m13float
m20float
m21float
m22float
m23float
m30float
m31float
m32float
m33float

FMatrix4(Matrix4 mat)

public FMatrix4(Matrix4 mat)

Initialize the instance of FMatrix4 from a Matrix4 instance.

Parameters:

ParameterTypeDescription
matMatrix4

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:

ParameterTypeDescription
r0FVector4R0.
r1FVector4R1.
r2FVector4R2.
r3FVector4R3.

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:

ParameterTypeDescription
m2FMatrix4M2.

Returns: FMatrix4 - New matrix4

concatenate(Matrix4 m2)

public FMatrix4 concatenate(Matrix4 m2)

Concatenates the two matrices

Parameters:

ParameterTypeDescription
m2Matrix4M2.

Returns: FMatrix4 - New matrix4

copyFrom(FMatrix4 src)

public void copyFrom(FMatrix4 src)

Parameters:

ParameterTypeDescription
srcFMatrix4

equals(Object obj)

public boolean equals(Object obj)

Parameters:

ParameterTypeDescription
objjava.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:

ParameterTypeDescription
leftFMatrix4
rightFMatrix4

Returns: FMatrix4

mul(FMatrix4 lhs, float v)

public static FMatrix4 mul(FMatrix4 lhs, float v)

Multiply the matrix and double value

Parameters:

ParameterTypeDescription
lhsFMatrix4Lhs.
vfloatV.

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int