Skip to content

Latest commit

 

History

History
103 lines (48 loc) · 1.32 KB

File metadata and controls

103 lines (48 loc) · 1.32 KB

Home > server > Matrix4 > fromRotationTranslationScaleOrigin

Matrix4.fromRotationTranslationScaleOrigin() method

Creates a new Matrix4 instance from a rotation, translation, scale, and origin.

Signature:

static fromRotationTranslationScaleOrigin(rotation: Quaternion, translation: Vector3, scale: Vector3, origin: Vector3): Matrix4;

Parameters

Parameter

Type

Description

rotation

Quaternion

The rotation of the matrix.

translation

Vector3

The translation of the matrix.

scale

Vector3

The scale of the matrix.

origin

Vector3

The origin of the matrix.

**Returns:**

Matrix4

A new Matrix4 instance.