class_gltfspecgloss.rst 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the GLTFSpecGloss.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_GLTFSpecGloss:
  6. GLTFSpecGloss
  7. =============
  8. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +---------------------------+----------------------------------------------------------------------+-------------------------+
  12. | :ref:`Color<class_Color>` | :ref:`diffuse_factor<class_GLTFSpecGloss_property_diffuse_factor>` | ``Color( 1, 1, 1, 1 )`` |
  13. +---------------------------+----------------------------------------------------------------------+-------------------------+
  14. | :ref:`Image<class_Image>` | :ref:`diffuse_img<class_GLTFSpecGloss_property_diffuse_img>` | |
  15. +---------------------------+----------------------------------------------------------------------+-------------------------+
  16. | :ref:`float<class_float>` | :ref:`gloss_factor<class_GLTFSpecGloss_property_gloss_factor>` | ``1.0`` |
  17. +---------------------------+----------------------------------------------------------------------+-------------------------+
  18. | :ref:`Image<class_Image>` | :ref:`spec_gloss_img<class_GLTFSpecGloss_property_spec_gloss_img>` | |
  19. +---------------------------+----------------------------------------------------------------------+-------------------------+
  20. | :ref:`Color<class_Color>` | :ref:`specular_factor<class_GLTFSpecGloss_property_specular_factor>` | ``Color( 1, 1, 1, 1 )`` |
  21. +---------------------------+----------------------------------------------------------------------+-------------------------+
  22. Property Descriptions
  23. ---------------------
  24. .. _class_GLTFSpecGloss_property_diffuse_factor:
  25. - :ref:`Color<class_Color>` **diffuse_factor**
  26. +-----------+---------------------------+
  27. | *Default* | ``Color( 1, 1, 1, 1 )`` |
  28. +-----------+---------------------------+
  29. | *Setter* | set_diffuse_factor(value) |
  30. +-----------+---------------------------+
  31. | *Getter* | get_diffuse_factor() |
  32. +-----------+---------------------------+
  33. ----
  34. .. _class_GLTFSpecGloss_property_diffuse_img:
  35. - :ref:`Image<class_Image>` **diffuse_img**
  36. +----------+------------------------+
  37. | *Setter* | set_diffuse_img(value) |
  38. +----------+------------------------+
  39. | *Getter* | get_diffuse_img() |
  40. +----------+------------------------+
  41. ----
  42. .. _class_GLTFSpecGloss_property_gloss_factor:
  43. - :ref:`float<class_float>` **gloss_factor**
  44. +-----------+-------------------------+
  45. | *Default* | ``1.0`` |
  46. +-----------+-------------------------+
  47. | *Setter* | set_gloss_factor(value) |
  48. +-----------+-------------------------+
  49. | *Getter* | get_gloss_factor() |
  50. +-----------+-------------------------+
  51. ----
  52. .. _class_GLTFSpecGloss_property_spec_gloss_img:
  53. - :ref:`Image<class_Image>` **spec_gloss_img**
  54. +----------+---------------------------+
  55. | *Setter* | set_spec_gloss_img(value) |
  56. +----------+---------------------------+
  57. | *Getter* | get_spec_gloss_img() |
  58. +----------+---------------------------+
  59. ----
  60. .. _class_GLTFSpecGloss_property_specular_factor:
  61. - :ref:`Color<class_Color>` **specular_factor**
  62. +-----------+----------------------------+
  63. | *Default* | ``Color( 1, 1, 1, 1 )`` |
  64. +-----------+----------------------------+
  65. | *Setter* | set_specular_factor(value) |
  66. +-----------+----------------------------+
  67. | *Getter* | get_specular_factor() |
  68. +-----------+----------------------------+
  69. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  70. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  71. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`