Class reference

VisualShaderNodeParticleAccelerator

Inherits VisualShaderNode

A visual shader node that accelerates particles.

Description

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

Properties

int mode = 0

Defines in what manner the particles will be accelerated.

Constants

MODE_LINEAR = 0

Enum: Mode

The particles will be accelerated based on their velocity.

MODE_RADIAL = 1

Enum: Mode

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

MODE_TANGENTIAL = 2

Enum: Mode

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

MODE_MAX = 3

Enum: Mode

Represents the size of the Mode enum.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.