Phaser API Documentation

  Version: 
lerp(v, [t])

Description:

Linearly interpolate this Quaternion towards the given Quaternion or Vector.

Parameters:

name type arguments description
v Phaser.Math.Quaternion | Phaser.Math.Vector4

The Quaternion or Vector to interpolate towards.

t number <optional>

The percentage of interpolation.

Returns:
Description:

This Quaternion.

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