How to take snapshot From node which is not on the scene
This is the case: I have a Mesh and PointLight added to the pane and I want to take snapshot from pane and show the result in the image view. But it only works when I add the pane to the scene. Is there any way to take snapshot from a node which has been not added to the scene? Accoring to documentation of Node.snapshot NOTE: In order for CSS and layout to function correctly, the node must be part of a Scene (the Scene may be attached to a Stage, but need not be). You can create new Scene without attaching it to Stage and even without displaying it: WritableImage writableImage = new