Files
godot-docs/classes/class_gltfcamera.rst
2021-11-15 12:28:38 +01:00

92 lines
3.4 KiB
ReStructuredText

: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:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
Properties
----------
+---------------------------+-----------------------------------------------------------+------------+
| :ref:`float<class_float>` | :ref:`depth_far<class_GLTFCamera_property_depth_far>` | ``4000.0`` |
+---------------------------+-----------------------------------------------------------+------------+
| :ref:`float<class_float>` | :ref:`depth_near<class_GLTFCamera_property_depth_near>` | ``0.05`` |
+---------------------------+-----------------------------------------------------------+------------+
| :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`` |
+---------------------------+-----------------------------------------------------------+------------+
Property Descriptions
---------------------
.. _class_GLTFCamera_property_depth_far:
- :ref:`float<class_float>` **depth_far**
+-----------+----------------------+
| *Default* | ``4000.0`` |
+-----------+----------------------+
| *Setter* | set_depth_far(value) |
+-----------+----------------------+
| *Getter* | get_depth_far() |
+-----------+----------------------+
----
.. _class_GLTFCamera_property_depth_near:
- :ref:`float<class_float>` **depth_near**
+-----------+-----------------------+
| *Default* | ``0.05`` |
+-----------+-----------------------+
| *Setter* | set_depth_near(value) |
+-----------+-----------------------+
| *Getter* | get_depth_near() |
+-----------+-----------------------+
----
.. _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() |
+-----------+------------------------+
.. |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.)`
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`