public Bounds sceneToLocal (Bounds bounds, boolean rootScene)

Transforms a bounds from the coordinate space of the scene into the local coordinate space of this Node. If the Node does not have any SubScene or rootScene is set to true, the arguments are in Scene coordinates of the Node returned by getScene(). Othwerwise, the subscene coordinates are used, which is equivalent to calling sceneToLocal(javafx.geometry.Bounds).

Since 3D bounds cannot be converted with rootScene set to true, trying to convert 3D bounds will yield null.

Parameters:
bounds    the bounds
rootScene    whether Scene coordinates should be used even if the Node is in a SubScene

Returns:  local coordinates of the bounds

Since:  JavaFX 8u40