class_gltfspecgloss.rst 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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/modules/gltf/doc_classes/GLTFSpecGloss.xml.
  6. .. _class_GLTFSpecGloss:
  7. GLTFSpecGloss
  8. =============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Properties
  11. ----------
  12. +---------------------------+----------------------------------------------------------------------+-----------------------+
  13. | :ref:`Color<class_Color>` | :ref:`diffuse_factor<class_GLTFSpecGloss_property_diffuse_factor>` | ``Color(1, 1, 1, 1)`` |
  14. +---------------------------+----------------------------------------------------------------------+-----------------------+
  15. | :ref:`Image<class_Image>` | :ref:`diffuse_img<class_GLTFSpecGloss_property_diffuse_img>` | |
  16. +---------------------------+----------------------------------------------------------------------+-----------------------+
  17. | :ref:`float<class_float>` | :ref:`gloss_factor<class_GLTFSpecGloss_property_gloss_factor>` | ``1.0`` |
  18. +---------------------------+----------------------------------------------------------------------+-----------------------+
  19. | :ref:`Image<class_Image>` | :ref:`spec_gloss_img<class_GLTFSpecGloss_property_spec_gloss_img>` | |
  20. +---------------------------+----------------------------------------------------------------------+-----------------------+
  21. | :ref:`Color<class_Color>` | :ref:`specular_factor<class_GLTFSpecGloss_property_specular_factor>` | ``Color(1, 1, 1, 1)`` |
  22. +---------------------------+----------------------------------------------------------------------+-----------------------+
  23. Property Descriptions
  24. ---------------------
  25. .. _class_GLTFSpecGloss_property_diffuse_factor:
  26. - :ref:`Color<class_Color>` **diffuse_factor**
  27. +-----------+---------------------------+
  28. | *Default* | ``Color(1, 1, 1, 1)`` |
  29. +-----------+---------------------------+
  30. | *Setter* | set_diffuse_factor(value) |
  31. +-----------+---------------------------+
  32. | *Getter* | get_diffuse_factor() |
  33. +-----------+---------------------------+
  34. ----
  35. .. _class_GLTFSpecGloss_property_diffuse_img:
  36. - :ref:`Image<class_Image>` **diffuse_img**
  37. +----------+------------------------+
  38. | *Setter* | set_diffuse_img(value) |
  39. +----------+------------------------+
  40. | *Getter* | get_diffuse_img() |
  41. +----------+------------------------+
  42. ----
  43. .. _class_GLTFSpecGloss_property_gloss_factor:
  44. - :ref:`float<class_float>` **gloss_factor**
  45. +-----------+-------------------------+
  46. | *Default* | ``1.0`` |
  47. +-----------+-------------------------+
  48. | *Setter* | set_gloss_factor(value) |
  49. +-----------+-------------------------+
  50. | *Getter* | get_gloss_factor() |
  51. +-----------+-------------------------+
  52. ----
  53. .. _class_GLTFSpecGloss_property_spec_gloss_img:
  54. - :ref:`Image<class_Image>` **spec_gloss_img**
  55. +----------+---------------------------+
  56. | *Setter* | set_spec_gloss_img(value) |
  57. +----------+---------------------------+
  58. | *Getter* | get_spec_gloss_img() |
  59. +----------+---------------------------+
  60. ----
  61. .. _class_GLTFSpecGloss_property_specular_factor:
  62. - :ref:`Color<class_Color>` **specular_factor**
  63. +-----------+----------------------------+
  64. | *Default* | ``Color(1, 1, 1, 1)`` |
  65. +-----------+----------------------------+
  66. | *Setter* | set_specular_factor(value) |
  67. +-----------+----------------------------+
  68. | *Getter* | get_specular_factor() |
  69. +-----------+----------------------------+
  70. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  71. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  72. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  73. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  74. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  75. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`