Files
godot-docs/classes/class_visualshadernodeparticleemit.rst
2021-11-15 12:28:38 +01:00

71 lines
2.6 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the VisualShaderNodeParticleEmit.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_VisualShaderNodeParticleEmit:
VisualShaderNodeParticleEmit
============================
**Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
Properties
----------
+---------------------------------------------------------------+-----------------------------------------------------------------+--------+
| :ref:`EmitFlags<enum_VisualShaderNodeParticleEmit_EmitFlags>` | :ref:`flags<class_VisualShaderNodeParticleEmit_property_flags>` | ``31`` |
+---------------------------------------------------------------+-----------------------------------------------------------------+--------+
Enumerations
------------
.. _enum_VisualShaderNodeParticleEmit_EmitFlags:
.. _class_VisualShaderNodeParticleEmit_constant_EMIT_FLAG_POSITION:
.. _class_VisualShaderNodeParticleEmit_constant_EMIT_FLAG_ROT_SCALE:
.. _class_VisualShaderNodeParticleEmit_constant_EMIT_FLAG_VELOCITY:
.. _class_VisualShaderNodeParticleEmit_constant_EMIT_FLAG_COLOR:
.. _class_VisualShaderNodeParticleEmit_constant_EMIT_FLAG_CUSTOM:
enum **EmitFlags**:
- **EMIT_FLAG_POSITION** = **1**
- **EMIT_FLAG_ROT_SCALE** = **2**
- **EMIT_FLAG_VELOCITY** = **4**
- **EMIT_FLAG_COLOR** = **8**
- **EMIT_FLAG_CUSTOM** = **16**
Property Descriptions
---------------------
.. _class_VisualShaderNodeParticleEmit_property_flags:
- :ref:`EmitFlags<enum_VisualShaderNodeParticleEmit_EmitFlags>` **flags**
+-----------+------------------+
| *Default* | ``31`` |
+-----------+------------------+
| *Setter* | set_flags(value) |
+-----------+------------------+
| *Getter* | get_flags() |
+-----------+------------------+
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`