Up to date

This page is up to date for Blazium 0.4.90 (4.3). If you still find outdated information, please open an issue.

VisualShaderNodeParticleAccelerator๏ƒ

Inherits: VisualShaderNode < Resource < RefCounted < Object

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๏ƒ

Mode

mode

0


Enumerations๏ƒ

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

Represents the size of the Mode enum.


Property Descriptions๏ƒ

Mode mode = 0 ๐Ÿ”—

  • void set_mode(value: Mode)

  • Mode get_mode()

Defines in what manner the particles will be accelerated.