webani - v1.0.0
Preparing search index...
renderer/util/matrix.utils
MatrixUtils
Variable MatrixUtils
Const
MatrixUtils
:
{
fromTRS
(
translation
:
Vector3
,
rotation
:
Vector3
,
scale
:
Vector3
,
rotationalCenter
?:
Vector3
,
)
:
Matrix4
;
identity
()
:
Matrix4
;
matrixToTransformColumnMajor
(
matrix
:
Matrix4
)
:
WorldTransform
;
multiply
(
a
:
Matrix4
,
b
:
Matrix4
)
:
Matrix4
;
multiplyVector3
(
matrix
:
Matrix4
,
point
:
Vector3
)
:
Vector3
;
rotationMatrix
(
r
:
Vector3
)
:
Matrix4
;
rotationMatrixAboutPoint
(
rotation
:
Vector3
,
point
:
Vector3
)
:
Matrix4
;
rotationMatrixAboutPointQuaternion
(
rotation
:
Vector4
,
point
:
Vector3
,
)
:
Matrix4
;
rotationMatrixQuaternion
(
__namedParameters
:
Vector4
)
:
Matrix4
;
scaleMatrix
(
s
:
Vector3
)
:
Matrix4
;
toString
(
matrix
:
Matrix4
)
:
string
;
translationMatrix
(
t
:
Vector3
)
:
Matrix4
;
transpose
(
matrix
:
Matrix4
)
:
Matrix4
;
}
= ...
Type declaration
fromTRS
:
function
fromTRS
(
translation
:
Vector3
,
rotation
:
Vector3
,
scale
:
Vector3
,
rotationalCenter
?:
Vector3
,
)
:
Matrix4
Parameters
translation
:
Vector3
rotation
:
Vector3
scale
:
Vector3
Optional
rotationalCenter
:
Vector3
Returns
Matrix4
identity
:
function
identity
()
:
Matrix4
Returns
Matrix4
matrixToTransformColumnMajor
:
function
matrixToTransformColumnMajor
(
matrix
:
Matrix4
)
:
WorldTransform
Parameters
matrix
:
Matrix4
Returns
WorldTransform
multiply
:
function
multiply
(
a
:
Matrix4
,
b
:
Matrix4
)
:
Matrix4
Parameters
a
:
Matrix4
b
:
Matrix4
Returns
Matrix4
multiplyVector3
:
function
multiplyVector3
(
matrix
:
Matrix4
,
point
:
Vector3
)
:
Vector3
Parameters
matrix
:
Matrix4
point
:
Vector3
Returns
Vector3
rotationMatrix
:
function
rotationMatrix
(
r
:
Vector3
)
:
Matrix4
Parameters
r
:
Vector3
Returns
Matrix4
rotationMatrixAboutPoint
:
function
rotationMatrixAboutPoint
(
rotation
:
Vector3
,
point
:
Vector3
)
:
Matrix4
Parameters
rotation
:
Vector3
point
:
Vector3
Returns
Matrix4
rotationMatrixAboutPointQuaternion
:
function
rotationMatrixAboutPointQuaternion
(
rotation
:
Vector4
,
point
:
Vector3
)
:
Matrix4
Parameters
rotation
:
Vector4
point
:
Vector3
Returns
Matrix4
rotationMatrixQuaternion
:
function
rotationMatrixQuaternion
(
__namedParameters
:
Vector4
)
:
Matrix4
Parameters
__namedParameters
:
Vector4
Returns
Matrix4
scaleMatrix
:
function
scaleMatrix
(
s
:
Vector3
)
:
Matrix4
Parameters
s
:
Vector3
Returns
Matrix4
toString
:
function
toString
(
matrix
:
Matrix4
)
:
string
Parameters
matrix
:
Matrix4
Returns
string
translationMatrix
:
function
translationMatrix
(
t
:
Vector3
)
:
Matrix4
Parameters
t
:
Vector3
Returns
Matrix4
transpose
:
function
transpose
(
matrix
:
Matrix4
)
:
Matrix4
Parameters
matrix
:
Matrix4
Returns
Matrix4
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
webani - v1.0.0
Loading...