mirror of
https://github.com/Relintai/pandemonium_engine_docs.git
synced 2025-01-23 15:17:21 +01:00
95 lines
3.3 KiB
ReStructuredText
95 lines
3.3 KiB
ReStructuredText
: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<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.)`
|