class_visualshadernodeparticlerandomness.rst 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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/VisualShaderNodeParticleRandomness.xml.
  6. .. _class_VisualShaderNodeParticleRandomness:
  7. VisualShaderNodeParticleRandomness
  8. ==================================
  9. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Visual shader node for randomizing particle values.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Randomness node will output pseudo-random values of the given type based on the specified minimum and maximum values.
  15. .. rst-class:: classref-reftable-group
  16. Properties
  17. ----------
  18. .. table::
  19. :widths: auto
  20. +---------------------------------------------------------------+---------------------------------------------------------------------------+-------+
  21. | :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` | :ref:`op_type<class_VisualShaderNodeParticleRandomness_property_op_type>` | ``0`` |
  22. +---------------------------------------------------------------+---------------------------------------------------------------------------+-------+
  23. .. rst-class:: classref-section-separator
  24. ----
  25. .. rst-class:: classref-descriptions-group
  26. Enumerations
  27. ------------
  28. .. _enum_VisualShaderNodeParticleRandomness_OpType:
  29. .. rst-class:: classref-enumeration
  30. enum **OpType**:
  31. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_SCALAR:
  32. .. rst-class:: classref-enumeration-constant
  33. :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` **OP_TYPE_SCALAR** = ``0``
  34. A floating-point scalar.
  35. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_VECTOR_2D:
  36. .. rst-class:: classref-enumeration-constant
  37. :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` **OP_TYPE_VECTOR_2D** = ``1``
  38. A 2D vector type.
  39. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_VECTOR_3D:
  40. .. rst-class:: classref-enumeration-constant
  41. :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` **OP_TYPE_VECTOR_3D** = ``2``
  42. A 3D vector type.
  43. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_MAX:
  44. .. rst-class:: classref-enumeration-constant
  45. :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` **OP_TYPE_MAX** = ``3``
  46. Represents the size of the :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` enum.
  47. .. rst-class:: classref-section-separator
  48. ----
  49. .. rst-class:: classref-descriptions-group
  50. Property Descriptions
  51. ---------------------
  52. .. _class_VisualShaderNodeParticleRandomness_property_op_type:
  53. .. rst-class:: classref-property
  54. :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` **op_type** = ``0``
  55. .. rst-class:: classref-property-setget
  56. - void **set_op_type** **(** :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` value **)**
  57. - :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` **get_op_type** **(** **)**
  58. A type of operands and returned value.
  59. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  60. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  61. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  62. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  63. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  64. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`