.. role:: ts-api-decorator

######
Camera
######

.. js:module:: Sc
   :noindex:

.. container:: ts-api-section

   .. js:class:: Camera



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-interface

   * :js:meth:`~Sc.Camera.fieldHeight`
   * :js:meth:`~Sc.Camera.fieldWidth`
   * :js:meth:`~Sc.Camera.fullMatrix`
   * :js:meth:`~Sc.Camera.nearLimit`
   * :js:meth:`~Sc.Camera.position`
   * :js:meth:`~Sc.Camera.projection`
   * :js:meth:`~Sc.Camera.projectionMatrix`
   * :js:meth:`~Sc.Camera.reset`
   * :js:meth:`~Sc.Camera.setNearLimit`
   * :js:meth:`~Sc.Camera.setPosition`
   * :js:meth:`~Sc.Camera.setTarget`
   * :js:meth:`~Sc.Camera.setUpVector`
   * :js:meth:`~Sc.Camera.target`
   * :js:meth:`~Sc.Camera.upVector`
   * :js:meth:`~Sc.Camera.viewMatrix`





------------

Methods
=======

.. rst-class:: ts-api-section

fieldHeight
-----------

.. js:method:: Camera.fieldHeight()



   :rtype: number

.. rst-class:: ts-api-section

fieldWidth
----------

.. js:method:: Camera.fieldWidth()



   :rtype: number

.. rst-class:: ts-api-section

fullMatrix
----------

.. js:method:: Camera.fullMatrix( width, height)

   :param width: None
   :type width: number
   :param height: None
   :type height: number


   :rtype: Matrix16

.. rst-class:: ts-api-section

nearLimit
---------

.. js:method:: Camera.nearLimit()



   :rtype: number

.. rst-class:: ts-api-section

position
--------

.. js:method:: Camera.position()



   :rtype: Vector3

.. rst-class:: ts-api-section

projection
----------

.. js:method:: Camera.projection()



   :rtype: Projection

.. rst-class:: ts-api-section

projectionMatrix
----------------

.. js:method:: Camera.projectionMatrix( width, height)

   :param width: None
   :type width: number
   :param height: None
   :type height: number


   :rtype: Matrix16

.. rst-class:: ts-api-section

reset
-----

.. js:method:: Camera.reset( projection, position, target, up, width, height)

   :param projection: None
   :type projection: Projection
   :param position: None
   :type position: Vector3
   :param target: None
   :type target: Vector3
   :param up: None
   :type up: Vector3
   :param width: None
   :type width: number
   :param height: None
   :type height: number


   :rtype: void

.. rst-class:: ts-api-section

setNearLimit
------------

.. js:method:: Camera.setNearLimit( nearLimit)

   :param nearLimit: None
   :type nearLimit: number


   :rtype: void

.. rst-class:: ts-api-section

setPosition
-----------

.. js:method:: Camera.setPosition( position)

   :param position: None
   :type position: Vector3


   :rtype: void

.. rst-class:: ts-api-section

setTarget
---------

.. js:method:: Camera.setTarget( target)

   :param target: None
   :type target: Vector3


   :rtype: void

.. rst-class:: ts-api-section

setUpVector
-----------

.. js:method:: Camera.setUpVector( upVector)

   :param upVector: None
   :type upVector: Vector3


   :rtype: void

.. rst-class:: ts-api-section

target
------

.. js:method:: Camera.target()



   :rtype: Vector3

.. rst-class:: ts-api-section

upVector
--------

.. js:method:: Camera.upVector()



   :rtype: Vector3

.. rst-class:: ts-api-section

viewMatrix
----------

.. js:method:: Camera.viewMatrix()



   :rtype: Matrix16

