public class PerspectiveCamera extends Camera
This camera defines a viewing volume for a perspective projection;
a truncated right pyramid.
The fieldOfView value can be used to change viewing volume.
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 at the projection plane (Z=0).
| Type | Property and Description |
|---|---|
DoubleProperty |
fieldOfView
Specifies the vertical angle of the camera's projection.
|
| Constructor and Description |
|---|
PerspectiveCamera() |
| Modifier and Type | Method and Description |
|---|---|
DoubleProperty |
fieldOfViewProperty()
Specifies the vertical angle of the camera's projection.
|
double |
getFieldOfView()
Gets the value of the property fieldOfView.
|
void |
setFieldOfView(double value)
Sets the value of the property fieldOfView.
|
public final DoubleProperty fieldOfViewProperty
getFieldOfView(),
setFieldOfView(double)public final void setFieldOfView(double value)
public final double getFieldOfView()
public final DoubleProperty fieldOfViewProperty()
getFieldOfView(),
setFieldOfView(double)Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.