set

fun set(x: Double, y: Double, z: Double, w: Double): Quaternion

Sets the quaternion components.

Return

A reference to this quaternion.

Parameters

x

The x value of this quaternion.

y

The y value of this quaternion.

z

The z value of this quaternion.

w

The w value of this quaternion.