mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
81064cc239
We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
34 lines
1.7 KiB
XML
34 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualShaderNodeParticleEmit" inherits="VisualShaderNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A visual shader node that forces to emit a particle from a sub-emitter.
|
|
</brief_description>
|
|
<description>
|
|
This node internally calls [code]emit_subparticle[/code] shader method. It will emit a particle from the configured sub-emitter and also allows to customize how its emitted. Requires a sub-emitter assigned to the particles node with this shader.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="flags" type="int" setter="set_flags" getter="get_flags" enum="VisualShaderNodeParticleEmit.EmitFlags" default="31">
|
|
Flags used to override the properties defined in the sub-emitter's process material.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="EMIT_FLAG_POSITION" value="1" enum="EmitFlags">
|
|
If enabled, the particle starts with the position defined by this node.
|
|
</constant>
|
|
<constant name="EMIT_FLAG_ROT_SCALE" value="2" enum="EmitFlags">
|
|
If enabled, the particle starts with the rotation and scale defined by this node.
|
|
</constant>
|
|
<constant name="EMIT_FLAG_VELOCITY" value="4" enum="EmitFlags">
|
|
If enabled,the particle starts with the velocity defined by this node.
|
|
</constant>
|
|
<constant name="EMIT_FLAG_COLOR" value="8" enum="EmitFlags">
|
|
If enabled, the particle starts with the color defined by this node.
|
|
</constant>
|
|
<constant name="EMIT_FLAG_CUSTOM" value="16" enum="EmitFlags">
|
|
If enabled, the particle starts with the [code]CUSTOM[/code] data defined by this node.
|
|
</constant>
|
|
</constants>
|
|
</class>
|