class_visualshadernodeparticlerandomness.rst 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualShaderNodeParticleRandomness.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualShaderNodeParticleRandomness:
  6. VisualShaderNodeParticleRandomness
  7. ==================================
  8. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +---------------------------------------------------------------+---------------------------------------------------------------------------+-------+
  12. | :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` | :ref:`op_type<class_VisualShaderNodeParticleRandomness_property_op_type>` | ``0`` |
  13. +---------------------------------------------------------------+---------------------------------------------------------------------------+-------+
  14. Enumerations
  15. ------------
  16. .. _enum_VisualShaderNodeParticleRandomness_OpType:
  17. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_SCALAR:
  18. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_VECTOR_2D:
  19. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_VECTOR_3D:
  20. .. _class_VisualShaderNodeParticleRandomness_constant_OP_TYPE_MAX:
  21. enum **OpType**:
  22. - **OP_TYPE_SCALAR** = **0** --- A floating-point scalar.
  23. - **OP_TYPE_VECTOR_2D** = **1** --- A 2D vector type.
  24. - **OP_TYPE_VECTOR_3D** = **2** --- A 3D vector type.
  25. - **OP_TYPE_MAX** = **3** --- Represents the size of the :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` enum.
  26. Property Descriptions
  27. ---------------------
  28. .. _class_VisualShaderNodeParticleRandomness_property_op_type:
  29. - :ref:`OpType<enum_VisualShaderNodeParticleRandomness_OpType>` **op_type**
  30. +-----------+--------------------+
  31. | *Default* | ``0`` |
  32. +-----------+--------------------+
  33. | *Setter* | set_op_type(value) |
  34. +-----------+--------------------+
  35. | *Getter* | get_op_type() |
  36. +-----------+--------------------+
  37. A type of operands and returned value.
  38. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  39. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  40. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  41. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  42. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  43. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`