• ... -axis they get bigger as they’re brought toward you and smaller as they’re moved away from you.

  • Set Layout X and Layout Y to 100 to specify the location of the cube.

  • Set Rotate to 30 to specify the rotation angle in degrees. Positive values rotate counter-clockwise.

  • For Rotation Axis, set the X, Y and Z values to 1 to indicate that the Rotate angle should be used to rotate the cube 30 degrees around each axis.

To see how the Rotate angle and Rotation Axis values affect the Box’s rotation, try setting two of the three Rotation Axis values to 0, then changing the Rotate angle.

Cylinder Properties

Configure the Cylinder’s properties in Scene Builder as follows:

  • Set Height to 100.0 and Radius to 50.

  • Set Layout X and Layout Y to 265 and 100, respectively. ...

Get Java How To Program, Late Objects, 11th Edition 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.