12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- :github_url: hide
- .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the GLTFCamera.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_GLTFCamera:
- GLTFCamera
- ==========
- **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_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<class_float>` | :ref:`fov_size<class_GLTFCamera_property_fov_size>` | ``75.0`` |
- +---------------------------+-----------------------------------------------------------+------------+
- | :ref:`bool<class_bool>` | :ref:`perspective<class_GLTFCamera_property_perspective>` | ``true`` |
- +---------------------------+-----------------------------------------------------------+------------+
- | :ref:`float<class_float>` | :ref:`zfar<class_GLTFCamera_property_zfar>` | ``4000.0`` |
- +---------------------------+-----------------------------------------------------------+------------+
- | :ref:`float<class_float>` | :ref:`znear<class_GLTFCamera_property_znear>` | ``0.05`` |
- +---------------------------+-----------------------------------------------------------+------------+
- Property Descriptions
- ---------------------
- .. _class_GLTFCamera_property_fov_size:
- - :ref:`float<class_float>` **fov_size**
- +-----------+---------------------+
- | *Default* | ``75.0`` |
- +-----------+---------------------+
- | *Setter* | set_fov_size(value) |
- +-----------+---------------------+
- | *Getter* | get_fov_size() |
- +-----------+---------------------+
- ----
- .. _class_GLTFCamera_property_perspective:
- - :ref:`bool<class_bool>` **perspective**
- +-----------+------------------------+
- | *Default* | ``true`` |
- +-----------+------------------------+
- | *Setter* | set_perspective(value) |
- +-----------+------------------------+
- | *Getter* | get_perspective() |
- +-----------+------------------------+
- ----
- .. _class_GLTFCamera_property_zfar:
- - :ref:`float<class_float>` **zfar**
- +-----------+-----------------+
- | *Default* | ``4000.0`` |
- +-----------+-----------------+
- | *Setter* | set_zfar(value) |
- +-----------+-----------------+
- | *Getter* | get_zfar() |
- +-----------+-----------------+
- ----
- .. _class_GLTFCamera_property_znear:
- - :ref:`float<class_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.)`
|