: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` .. rst-class:: classref-introduction-group 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. .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------+-----------------------------------------------------------+------------+ | :ref:`float` | :ref:`fov_size` | ``75.0`` | +---------------------------+-----------------------------------------------------------+------------+ | :ref:`bool` | :ref:`perspective` | ``true`` | +---------------------------+-----------------------------------------------------------+------------+ | :ref:`float` | :ref:`zfar` | ``4000.0`` | +---------------------------+-----------------------------------------------------------+------------+ | :ref:`float` | :ref:`znear` | ``0.05`` | +---------------------------+-----------------------------------------------------------+------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GLTFCamera_property_fov_size: .. rst-class:: classref-property :ref:`float` **fov_size** = ``75.0`` .. rst-class:: classref-property-setget - void **set_fov_size** **(** :ref:`float` value **)** - :ref:`float` **get_fov_size** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFCamera_property_perspective: .. rst-class:: classref-property :ref:`bool` **perspective** = ``true`` .. rst-class:: classref-property-setget - void **set_perspective** **(** :ref:`bool` value **)** - :ref:`bool` **get_perspective** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFCamera_property_zfar: .. rst-class:: classref-property :ref:`float` **zfar** = ``4000.0`` .. rst-class:: classref-property-setget - void **set_zfar** **(** :ref:`float` value **)** - :ref:`float` **get_zfar** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFCamera_property_znear: .. rst-class:: classref-property :ref:`float` **znear** = ``0.05`` .. rst-class:: classref-property-setget - void **set_znear** **(** :ref:`float` value **)** - :ref:`float` **get_znear** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. |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.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`