Phaser API Documentation

  Version: 
setFromEuler(euler, [update])

Description:

Set this Quaternion from the given Euler, based on Euler order.

Parameters:

name type arguments Default description
euler Phaser.Math.Euler

The Euler to convert from.

update boolean <optional> true

Run the onChangeCallback?

Returns:
Description:

This Quaternion.

Examples:
Since: 3.50.0
Source: src/math/Quaternion.js (Line 784)