Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeParticleAccelerator

Hérite de : VisualShaderNode < Resource < RefCounted < Object

Un nœud de shader visuel qui accélère des particules.

Description

Particle accelerator can be used in "process" step of particle shader. It will accelerate the particles. Connect it to the Velocity output port.

Propriétés

Mode

mode

0


Énumérations

enum Mode: 🔗

Mode MODE_LINEAR = 0

The particles will be accelerated based on their velocity.

Mode MODE_RADIAL = 1

The particles will be accelerated towards or away from the center.

Mode MODE_TANGENTIAL = 2

The particles will be accelerated tangentially to the radius vector from center to their position.

Mode MODE_MAX = 3

Représente la taille de l'énumération Mode.


Descriptions des propriétés

Mode mode = 0 🔗

  • void set_mode(value: Mode)

  • Mode get_mode()

Defines in what manner the particles will be accelerated.