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

.. js:class:: Sc.Camera

   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :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
=======

.. js:method:: Sc.Camera.fieldHeight

   .. rst-class:: sig-pretty-signature
   
      | fieldHeight(): *number*
   
   **Returns**\ : *number*
   



.. js:method:: Sc.Camera.fieldWidth

   .. rst-class:: sig-pretty-signature
   
      | fieldWidth(): *number*
   
   **Returns**\ : *number*
   



.. js:method:: Sc.Camera.fullMatrix

   .. rst-class:: sig-pretty-signature
   
      | fullMatrix(**width**\ : *number*\ , **height**\ : *number*\ ): :js:data:`~Matrix16`
   
   **Parameters**
   
      **width**\ : *number*
   
      **height**\ : *number*
   
   
   **Returns**\ : :js:data:`~Matrix16`
   



.. js:method:: Sc.Camera.nearLimit

   .. rst-class:: sig-pretty-signature
   
      | nearLimit(): *number*
   
   **Returns**\ : *number*
   



.. js:method:: Sc.Camera.position

   .. rst-class:: sig-pretty-signature
   
      | position(): :js:data:`~Vector3`
   
   **Returns**\ : :js:data:`~Vector3`
   



.. js:method:: Sc.Camera.projection

   .. rst-class:: sig-pretty-signature
   
      | projection(): :js:data:`Projection <Sc.Projection>`
   
   **Returns**\ : :js:data:`Projection <Sc.Projection>`
   



.. js:method:: Sc.Camera.projectionMatrix

   .. rst-class:: sig-pretty-signature
   
      | projectionMatrix(**width**\ : *number*\ , **height**\ : *number*\ ): :js:data:`~Matrix16`
   
   **Parameters**
   
      **width**\ : *number*
   
      **height**\ : *number*
   
   
   **Returns**\ : :js:data:`~Matrix16`
   



.. js:method:: Sc.Camera.reset

   .. rst-class:: sig-pretty-signature
   
      | reset(**projection**\ : :js:data:`Projection <Sc.Projection>`\ , **position**\ : :js:data:`~Vector3`\ , **target**\ : :js:data:`~Vector3`\ , **up**\ : :js:data:`~Vector3`\ , **width**\ : *number*\ , **height**\ : *number*\ ): *void*
   
   **Parameters**
   
      **projection**\ : :js:data:`Projection <Sc.Projection>`
   
      **position**\ : :js:data:`~Vector3`
   
      **target**\ : :js:data:`~Vector3`
   
      **up**\ : :js:data:`~Vector3`
   
      **width**\ : *number*
   
      **height**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Camera.setNearLimit

   .. rst-class:: sig-pretty-signature
   
      | setNearLimit(**nearLimit**\ : *number*\ ): *void*
   
   **Parameters**
   
      **nearLimit**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Camera.setPosition

   .. rst-class:: sig-pretty-signature
   
      | setPosition(**position**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **position**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Camera.setTarget

   .. rst-class:: sig-pretty-signature
   
      | setTarget(**target**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **target**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Camera.setUpVector

   .. rst-class:: sig-pretty-signature
   
      | setUpVector(**upVector**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **upVector**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Camera.target

   .. rst-class:: sig-pretty-signature
   
      | target(): :js:data:`~Vector3`
   
   **Returns**\ : :js:data:`~Vector3`
   



.. js:method:: Sc.Camera.upVector

   .. rst-class:: sig-pretty-signature
   
      | upVector(): :js:data:`~Vector3`
   
   **Returns**\ : :js:data:`~Vector3`
   



.. js:method:: Sc.Camera.viewMatrix

   .. rst-class:: sig-pretty-signature
   
      | viewMatrix(): :js:data:`~Matrix16`
   
   **Returns**\ : :js:data:`~Matrix16`
   





