class_gltfspecgloss.rst 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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/3.5/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.5/modules/gltf/doc_classes/GLTFSpecGloss.xml.
  6. .. _class_GLTFSpecGloss:
  7. GLTFSpecGloss
  8. =============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. .. rst-class:: classref-introduction-group
  11. Description
  12. -----------
  13. **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to **GLTFSpecGloss** within a script will cause an error in an exported project.
  14. .. rst-class:: classref-reftable-group
  15. Properties
  16. ----------
  17. .. table::
  18. :widths: auto
  19. +---------------------------+----------------------------------------------------------------------+-------------------------+
  20. | :ref:`Color<class_Color>` | :ref:`diffuse_factor<class_GLTFSpecGloss_property_diffuse_factor>` | ``Color( 1, 1, 1, 1 )`` |
  21. +---------------------------+----------------------------------------------------------------------+-------------------------+
  22. | :ref:`Image<class_Image>` | :ref:`diffuse_img<class_GLTFSpecGloss_property_diffuse_img>` | |
  23. +---------------------------+----------------------------------------------------------------------+-------------------------+
  24. | :ref:`float<class_float>` | :ref:`gloss_factor<class_GLTFSpecGloss_property_gloss_factor>` | ``1.0`` |
  25. +---------------------------+----------------------------------------------------------------------+-------------------------+
  26. | :ref:`Image<class_Image>` | :ref:`spec_gloss_img<class_GLTFSpecGloss_property_spec_gloss_img>` | |
  27. +---------------------------+----------------------------------------------------------------------+-------------------------+
  28. | :ref:`Color<class_Color>` | :ref:`specular_factor<class_GLTFSpecGloss_property_specular_factor>` | ``Color( 1, 1, 1, 1 )`` |
  29. +---------------------------+----------------------------------------------------------------------+-------------------------+
  30. .. rst-class:: classref-section-separator
  31. ----
  32. .. rst-class:: classref-descriptions-group
  33. Property Descriptions
  34. ---------------------
  35. .. _class_GLTFSpecGloss_property_diffuse_factor:
  36. .. rst-class:: classref-property
  37. :ref:`Color<class_Color>` **diffuse_factor** = ``Color( 1, 1, 1, 1 )``
  38. .. rst-class:: classref-property-setget
  39. - void **set_diffuse_factor** **(** :ref:`Color<class_Color>` value **)**
  40. - :ref:`Color<class_Color>` **get_diffuse_factor** **(** **)**
  41. .. container:: contribute
  42. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  43. .. rst-class:: classref-item-separator
  44. ----
  45. .. _class_GLTFSpecGloss_property_diffuse_img:
  46. .. rst-class:: classref-property
  47. :ref:`Image<class_Image>` **diffuse_img**
  48. .. rst-class:: classref-property-setget
  49. - void **set_diffuse_img** **(** :ref:`Image<class_Image>` value **)**
  50. - :ref:`Image<class_Image>` **get_diffuse_img** **(** **)**
  51. .. container:: contribute
  52. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  53. .. rst-class:: classref-item-separator
  54. ----
  55. .. _class_GLTFSpecGloss_property_gloss_factor:
  56. .. rst-class:: classref-property
  57. :ref:`float<class_float>` **gloss_factor** = ``1.0``
  58. .. rst-class:: classref-property-setget
  59. - void **set_gloss_factor** **(** :ref:`float<class_float>` value **)**
  60. - :ref:`float<class_float>` **get_gloss_factor** **(** **)**
  61. .. container:: contribute
  62. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  63. .. rst-class:: classref-item-separator
  64. ----
  65. .. _class_GLTFSpecGloss_property_spec_gloss_img:
  66. .. rst-class:: classref-property
  67. :ref:`Image<class_Image>` **spec_gloss_img**
  68. .. rst-class:: classref-property-setget
  69. - void **set_spec_gloss_img** **(** :ref:`Image<class_Image>` value **)**
  70. - :ref:`Image<class_Image>` **get_spec_gloss_img** **(** **)**
  71. .. container:: contribute
  72. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  73. .. rst-class:: classref-item-separator
  74. ----
  75. .. _class_GLTFSpecGloss_property_specular_factor:
  76. .. rst-class:: classref-property
  77. :ref:`Color<class_Color>` **specular_factor** = ``Color( 1, 1, 1, 1 )``
  78. .. rst-class:: classref-property-setget
  79. - void **set_specular_factor** **(** :ref:`Color<class_Color>` value **)**
  80. - :ref:`Color<class_Color>` **get_specular_factor** **(** **)**
  81. .. container:: contribute
  82. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  83. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  84. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  85. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  86. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`