class sap.ui.vk.TransformationMatrix

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Extends:
Module: sap/ui/vk/TransformationMatrix
Application Component: CA-UI5-VTK

Transformation matrix is an array of 12 numbers in a row major mode.


Constructor

new sap.ui.vk.TransformationMatrix()

Methods Overview

Method Description
sap.ui.vk.TransformationMatrix.convert3x2To4x3

Converts matrix from 3x2 to 4x3.

sap.ui.vk.TransformationMatrix.convert4x3To3x2

Converts matrix from 4x3 to 3x2.

sap.ui.vk.TransformationMatrix.convert4x4To3x2

Converts matrix from 4x4 to 3x2.

sap.ui.vk.TransformationMatrix.convertTo3x2

Converts matrix from 4x4 or 4x4 to 3x2.

sap.ui.vk.TransformationMatrix.convertTo4x3

Converts matrix from 4x4 to 4x3.

sap.ui.vk.TransformationMatrix.convertTo4x4

Converts matrix from 4x3 to 4x4.

sap.ui.vk.TransformationMatrix.parseValue

Parses the given string value and converts it into an array of numbers.

sap.ui.vk.TransformationMatrix.convert3x2To4x3

Converts matrix from 3x2 to 4x3.

Param Type DefaultValue Description
m3x2 number[]

The matrix to convert.

sap.ui.vk.TransformationMatrix.convert4x3To3x2

Converts matrix from 4x3 to 3x2.

Param Type DefaultValue Description
m4x3 number[]

The matrix 4x3 to convert.

sap.ui.vk.TransformationMatrix.convert4x4To3x2

Converts matrix from 4x4 to 3x2.

Param Type DefaultValue Description
m4x4 number[]

The matrix 4x4 to convert.

sap.ui.vk.TransformationMatrix.convertTo3x2

Converts matrix from 4x4 or 4x4 to 3x2.

Param Type DefaultValue Description
m number[]

The matrix 4x4 or 4x3 to convert.

sap.ui.vk.TransformationMatrix.convertTo4x3

Converts matrix from 4x4 to 4x3.

Param Type DefaultValue Description
matrix4x4 number[]

The matrix to convert. The last column must be [0, 0, 0, 1].

sap.ui.vk.TransformationMatrix.convertTo4x4

Converts matrix from 4x3 to 4x4.

Param Type DefaultValue Description
matrix4x3 number[]

The matrix to convert.

sap.ui.vk.TransformationMatrix.parseValue

Parses the given string value and converts it into an array of numbers.

Param Type DefaultValue Description
value string

a comma or white space delimited string