public class PerspectiveCamera
Perspective camera looking toward a target, independent of the GUI. Example: camera = PerspectiveCamera(); camera.fit(scene.root.bounds())
| Modifier and Type | Member | Description |
|---|---|---|
| public property | farfar as Double = 1000.0 |
Far clipping plane, larger than near. |
| public property | nearnear as Double = 0.01 |
Near clipping plane, positive. |
| public property | position | World eye position. |
| public property | target | World target. |
| public property | up | World up axis. |
| public property | verticalAngleverticalAngle as Double = Math.PI / 4.0 |
Vertical field of view in radians. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | fit | Frames a bounding sphere; aspect accounts for narrow viewports. |
| public | viewProjection | Projection/view matrix; rejects invalid frustum or parallel up axis. |