Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Camera is now a Node
  • Camera can be added to a scene graph
  • Camera's position and aim (or orientation) is set using standard Node transform properties and methods
  • For backward compatibility, fixed camera need not be added to the scene
  • Added new properties for near & far clipping plane
  • SubScene is a special Node for scene separation
  • It can be used to render part of the Scene with different camera
  • Possible use cases are:
    • Picture in picture
    • Overlay or "heads-up" display for UI controls in a scene with a moving camera
Camera Class Hierarchy
Panel
  • javafx.scene.Node
    • javafx.scene.Camera
      • javafx.scene.ParallelCamera
      • javafx.scene.PerspectiveCamera
    • javafx.scene.SubScene

XXXXXXXXXXXXXx