class_shadermaterial.rst 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_ShaderMaterial:
  4. ShaderMaterial
  5. ==============
  6. **Inherits:** :ref:`Material<class_material>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`Shader<class_shader>` | :ref:`get_shader<class_ShaderMaterial_get_shader>` **(** **)** const |
  14. +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Variant<class_variant>` | :ref:`get_shader_param<class_ShaderMaterial_get_shader_param>` **(** :ref:`String<class_string>` param **)** const |
  16. +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`set_shader<class_ShaderMaterial_set_shader>` **(** :ref:`Shader<class_shader>` shader **)** |
  18. +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`set_shader_param<class_ShaderMaterial_set_shader_param>` **(** :ref:`String<class_string>` param, :ref:`Variant<class_variant>` value **)** |
  20. +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
  21. Member Function Description
  22. ---------------------------
  23. .. _class_ShaderMaterial_get_shader:
  24. - :ref:`Shader<class_shader>` **get_shader** **(** **)** const
  25. .. _class_ShaderMaterial_get_shader_param:
  26. - :ref:`Variant<class_variant>` **get_shader_param** **(** :ref:`String<class_string>` param **)** const
  27. .. _class_ShaderMaterial_set_shader:
  28. - void **set_shader** **(** :ref:`Shader<class_shader>` shader **)**
  29. .. _class_ShaderMaterial_set_shader_param:
  30. - void **set_shader_param** **(** :ref:`String<class_string>` param, :ref:`Variant<class_variant>` value **)**