Package javafx.scene

Class ParallelCamera

  • All Implemented Interfaces:
    Styleable, EventTarget

    public class ParallelCamera
    extends Camera
    Specifies a parallel camera for rendering a scene without perspective correction.

    If a scene contains only 2D transforms, then the following details are not relevant. This camera defines a viewing volume for a parallel (orthographic) projection; a rectangular box. This camera is always located at center of the window and looks along the positive z-axis. The coordinate system defined by this camera has its origin in the upper left corner of the panel with the Y-axis pointing down and the Z axis pointing away from the viewer (into the screen). The units are in pixel coordinates.

    Since:
    JavaFX 2.0
    • Constructor Detail

      • ParallelCamera

        public ParallelCamera()
        Creates an empty instance of ParallelCamera.