Phaser API Documentation

  Version: 
calculateW()

Description:

Create a unit (or rotation) Quaternion from its x, y, and z components.

Sets the w component.

Returns:
Description:

This Quaternion.

Since: 3.0.0
Source: src/math/Quaternion.js (Line 763)