Quaternion.AngleAxisstatic function AngleAxis (angle : float, axis : Vector3) : QuaternionDescriptionCreates a rotation which rotates angle degrees around axis.
JavaScript
// Sets the transforms rotation to rotate 30 degrees around the y-axis using UnityEngine; import UnityEngine |
