class_renderscenedataextension.rst 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/RenderSceneDataExtension.xml.
  6. .. _class_RenderSceneDataExtension:
  7. RenderSceneDataExtension
  8. ========================
  9. **Inherits:** :ref:`RenderSceneData<class_RenderSceneData>` **<** :ref:`Object<class_Object>`
  10. This class allows for a RenderSceneData implementation to be made in GDExtension.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This class allows for a RenderSceneData implementation to be made in GDExtension.
  15. .. rst-class:: classref-reftable-group
  16. Methods
  17. -------
  18. .. table::
  19. :widths: auto
  20. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`Projection<class_Projection>` | :ref:`_get_cam_projection<class_RenderSceneDataExtension_private_method__get_cam_projection>`\ (\ ) |virtual| |const| |
  22. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`Transform3D<class_Transform3D>` | :ref:`_get_cam_transform<class_RenderSceneDataExtension_private_method__get_cam_transform>`\ (\ ) |virtual| |const| |
  24. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`RID<class_RID>` | :ref:`_get_uniform_buffer<class_RenderSceneDataExtension_private_method__get_uniform_buffer>`\ (\ ) |virtual| |const| |
  26. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`int<class_int>` | :ref:`_get_view_count<class_RenderSceneDataExtension_private_method__get_view_count>`\ (\ ) |virtual| |const| |
  28. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`Vector3<class_Vector3>` | :ref:`_get_view_eye_offset<class_RenderSceneDataExtension_private_method__get_view_eye_offset>`\ (\ view\: :ref:`int<class_int>`\ ) |virtual| |const| |
  30. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`Projection<class_Projection>` | :ref:`_get_view_projection<class_RenderSceneDataExtension_private_method__get_view_projection>`\ (\ view\: :ref:`int<class_int>`\ ) |virtual| |const| |
  32. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
  33. .. rst-class:: classref-section-separator
  34. ----
  35. .. rst-class:: classref-descriptions-group
  36. Method Descriptions
  37. -------------------
  38. .. _class_RenderSceneDataExtension_private_method__get_cam_projection:
  39. .. rst-class:: classref-method
  40. :ref:`Projection<class_Projection>` **_get_cam_projection**\ (\ ) |virtual| |const| :ref:`🔗<class_RenderSceneDataExtension_private_method__get_cam_projection>`
  41. Implement this in GDExtension to return the camera :ref:`Projection<class_Projection>`.
  42. .. rst-class:: classref-item-separator
  43. ----
  44. .. _class_RenderSceneDataExtension_private_method__get_cam_transform:
  45. .. rst-class:: classref-method
  46. :ref:`Transform3D<class_Transform3D>` **_get_cam_transform**\ (\ ) |virtual| |const| :ref:`🔗<class_RenderSceneDataExtension_private_method__get_cam_transform>`
  47. Implement this in GDExtension to return the camera :ref:`Transform3D<class_Transform3D>`.
  48. .. rst-class:: classref-item-separator
  49. ----
  50. .. _class_RenderSceneDataExtension_private_method__get_uniform_buffer:
  51. .. rst-class:: classref-method
  52. :ref:`RID<class_RID>` **_get_uniform_buffer**\ (\ ) |virtual| |const| :ref:`🔗<class_RenderSceneDataExtension_private_method__get_uniform_buffer>`
  53. Implement this in GDExtension to return the :ref:`RID<class_RID>` of the uniform buffer containing the scene data as a UBO.
  54. .. rst-class:: classref-item-separator
  55. ----
  56. .. _class_RenderSceneDataExtension_private_method__get_view_count:
  57. .. rst-class:: classref-method
  58. :ref:`int<class_int>` **_get_view_count**\ (\ ) |virtual| |const| :ref:`🔗<class_RenderSceneDataExtension_private_method__get_view_count>`
  59. Implement this in GDExtension to return the view count.
  60. .. rst-class:: classref-item-separator
  61. ----
  62. .. _class_RenderSceneDataExtension_private_method__get_view_eye_offset:
  63. .. rst-class:: classref-method
  64. :ref:`Vector3<class_Vector3>` **_get_view_eye_offset**\ (\ view\: :ref:`int<class_int>`\ ) |virtual| |const| :ref:`🔗<class_RenderSceneDataExtension_private_method__get_view_eye_offset>`
  65. Implement this in GDExtension to return the eye offset for the given ``view``.
  66. .. rst-class:: classref-item-separator
  67. ----
  68. .. _class_RenderSceneDataExtension_private_method__get_view_projection:
  69. .. rst-class:: classref-method
  70. :ref:`Projection<class_Projection>` **_get_view_projection**\ (\ view\: :ref:`int<class_int>`\ ) |virtual| |const| :ref:`🔗<class_RenderSceneDataExtension_private_method__get_view_projection>`
  71. Implement this in GDExtension to return the view :ref:`Projection<class_Projection>` for the given ``view``.
  72. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  73. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  74. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  75. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  76. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  77. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  78. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  79. .. |void| replace:: :abbr:`void (No return value.)`