Home > server > Matrix4 > fromRotationTranslationScaleOrigin
Creates a new Matrix4 instance from a rotation, translation, scale, and origin.
Signature:
static fromRotationTranslationScaleOrigin(rotation: Quaternion, translation: Vector3, scale: Vector3, origin: Vector3): Matrix4;|
Parameter |
Type |
Description |
|---|---|---|
|
rotation |
The rotation of the matrix. | |
|
translation |
The translation of the matrix. | |
|
scale |
The scale of the matrix. | |
|
origin |
The origin of the matrix. |
A new Matrix4 instance.