Home > decentraland-ecs > Matrix > FromQuaternionToRef
Creates a rotation matrix from a quaternion and stores it in a target matrix
Signature:
static FromQuaternionToRef(quat: Quaternion, result: Matrix): void;
Returns: void
Parameter | Type | Description |
---|---|---|
quat |
Quaternion |
defines the quaternion to use |
result |
Matrix |
defines the target matrix |