:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.5/modules/gltf/doc_classes/GLTFCamera.xml. .. _class_GLTFCamera: GLTFCamera ========== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` Description ----------- **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to ``GLTFCamera`` within a script will cause an error in an exported project. Properties ---------- +---------------------------+-----------------------------------------------------------+------------+ | :ref:`float` | :ref:`fov_size` | ``75.0`` | +---------------------------+-----------------------------------------------------------+------------+ | :ref:`bool` | :ref:`perspective` | ``true`` | +---------------------------+-----------------------------------------------------------+------------+ | :ref:`float` | :ref:`zfar` | ``4000.0`` | +---------------------------+-----------------------------------------------------------+------------+ | :ref:`float` | :ref:`znear` | ``0.05`` | +---------------------------+-----------------------------------------------------------+------------+ Property Descriptions --------------------- .. _class_GLTFCamera_property_fov_size: - :ref:`float` **fov_size** +-----------+---------------------+ | *Default* | ``75.0`` | +-----------+---------------------+ | *Setter* | set_fov_size(value) | +-----------+---------------------+ | *Getter* | get_fov_size() | +-----------+---------------------+ ---- .. _class_GLTFCamera_property_perspective: - :ref:`bool` **perspective** +-----------+------------------------+ | *Default* | ``true`` | +-----------+------------------------+ | *Setter* | set_perspective(value) | +-----------+------------------------+ | *Getter* | get_perspective() | +-----------+------------------------+ ---- .. _class_GLTFCamera_property_zfar: - :ref:`float` **zfar** +-----------+-----------------+ | *Default* | ``4000.0`` | +-----------+-----------------+ | *Setter* | set_zfar(value) | +-----------+-----------------+ | *Getter* | get_zfar() | +-----------+-----------------+ ---- .. _class_GLTFCamera_property_znear: - :ref:`float` **znear** +-----------+------------------+ | *Default* | ``0.05`` | +-----------+------------------+ | *Setter* | set_znear(value) | +-----------+------------------+ | *Getter* | get_znear() | +-----------+------------------+ .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`