public void prependRotation (double angle, Point3D pivot, Point3D axis)

Prepends the rotation to this instance. It is equivalent to prepend(new Rotate(angle, pivot.getX(), pivot.getY(), pivot.getZ(), axis)).

The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms() list, the specified rotation first and this transform second.

From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified rotation.

Parameters:
angle    the angle of the rotation in degrees
pivot    the rotation pivot point
axis    the rotation axis

Exceptions:
NullPointerException    if the specified pivot or axis is null

Since:  JavaFX 8.0