setRotationFromEuler method

void setRotationFromEuler(
  1. Euler euler
)

euler -- Euler angle specifying rotation amount.

Calls setRotationFromEuler (euler) on the quaternion.

Implementation

void setRotationFromEuler(Euler euler) {
  quaternion.setFromEuler(euler, true);
}