# Class Camera

java.lang.Object
com.codename1.ui.scene.Camera

Direct Known Subclasses:
  `PerspectiveCamera`

public class Camera extends Object
Encapsulates a camera.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final Property<Double,Camera>`
  `farClip`
  `final Property<Double,Camera>`
  `nearClip`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Camera(double zNear, double zFar)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Transform`
  `getTransform()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### farClip

    public final Property<Double,Camera> farClip

  - ### nearClip

    public final Property<Double,Camera> nearClip

- ## Constructor Details

  - ### Camera

    public Camera(double zNear, double zFar)

- ## Method Details

  - ### getTransform

    public Transform getTransform()