Rotation values

The orientation of the 3D object will be defined with the rotate values in the following keys:

  • rotateX: Rotation value of the object around the X-axis, in other words, turning the object up or down
  • rotateY: Rotation value of the object around the Y-axis that would turn the object left or right
  • rotateZ: Rotation value of the object around the Z-axis, making the object tilt forward or backward

All rotation values are in numbers or string representations of a number in degrees.

Get Full-Stack React Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.