FMatrix4

Overview

FMatrix4 is a class in Aspose.3D FOSS for Typescript.

FMatrix4.constructor creates a new FMatrix4 instance with default zero values.

This class provides 4 methods for working with FMatrix4 objects in Typescript programs. Available methods include: concatenate, constructor, inverse, transpose. All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package. Properties: identity, m00, m01, m02, m03, m10, and 11 more.

Description

FMatrix4 is a class in the Aspose.3D FOSS library for TypeScript that exposes 5 methods and 17 properties for programmatic use.

Core capabilities include: fmatrix4; number; number. These operations enable developers to integrate fmatrix4 functionality directly into TypeScript applications.

The class also provides the identity property (gets the identity).

The class offers 5 constructor overloads, allowing flexible initialization depending on the calling context.

Properties

NameTypeAccessDescription
identityFMatrix4ReadGets the identity.
m00numberRead/WriteGets the m00.
m01numberRead/WriteGets the m01.
m02numberRead/WriteGets the m02.
m03numberRead/WriteGets the m03.
m10numberRead/WriteGets the m10.
m11numberRead/WriteGets the m11.
m12numberRead/WriteGets the m12.
m13numberRead/WriteGets the m13.
m20numberRead/WriteGets the m20.
m21numberRead/WriteGets the m21.
m22numberRead/WriteGets the m22.
m23numberRead/WriteGets the m23.
m30numberRead/WriteGets the m30.
m31numberRead/WriteGets the m31.
m32numberRead/WriteGets the m32.
m33numberRead/WriteGets the m33.

Methods

SignatureDescription
constructor()Creates a new FMatrix4 initialized with the 16 supplied numeric elements
constructor(m00: number, m01: number, m02: number, m03: number, m10: number, m11: number, m12: number, m13: number, m20: number, m21: number, m22: number, m23: number, m30: number, m31: number, m32: number, m33: number)Creates an FMatrix4 initialized with the 16 supplied float elements in row-major order
constructor(mat: Matrix4)Creates an FMatrix4 by copying the elements of the given Matrix4
constructor(r0: FVector4, r1: FVector4, r2: FVector4, r3: FVector4)Creates an FMatrix4 from four FVector4 row vectors
constructor()Creates an FMatrix4 initialized with all zero values
concatenate(m2: FMatrix4)FMatrix4Returns a new FMatrix4 resulting from concatenating this matrix with any compatible matrix
concatenate(m2: Matrix4)FMatrix4Returns a new FMatrix4 resulting from concatenating this matrix with the given Matrix4
concatenate(m2: any)FMatrix4Returns a new FMatrix4 resulting from concatenating this matrix with a compatible matrix argument
transpose()FMatrix4Returns a new FMatrix4 with rows and columns swapped
inverse()FMatrix4Returns a new FMatrix4 that is the mathematical inverse of this matrix

See Also