GPUParticles2D

Inherits: Node2D < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

int

amount

8

float

amount_ratio

1.0

float

collision_base_size

1.0

DrawOrder

draw_order

1

bool

emitting

true

float

explosiveness

0.0

int

fixed_fps

30

bool

fract_delta

true

float

interp_to_end

0.0

bool

interpolate

true

float

lifetime

1.0

bool

local_coords

false

bool

one_shot

false

float

preprocess

0.0

Material

process_material

float

randomness

0.0

float

speed_scale

1.0

NodePath

sub_emitter

NodePath("")

Texture2D

texture

bool

trail_enabled

false

float

trail_lifetime

0.3

int

trail_section_subdivisions

4

int

trail_sections

8

Rect2

visibility_rect

Rect2(-100, -100, 200, 200)

Methods

Rect2

capture_rect ( ) const

void

convert_from_particles ( Node particles )

void

emit_particle ( Transform2D xform, Vector2 velocity, Color color, Color custom, int flags )

void

restart ( )


Signals

finished ( )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum DrawOrder:

DrawOrder DRAW_ORDER_INDEX = 0

There is currently no description for this enum. Please help us by contributing one!

DrawOrder DRAW_ORDER_LIFETIME = 1

There is currently no description for this enum. Please help us by contributing one!

DrawOrder DRAW_ORDER_REVERSE_LIFETIME = 2

There is currently no description for this enum. Please help us by contributing one!


enum EmitFlags:

EmitFlags EMIT_FLAG_POSITION = 1

There is currently no description for this enum. Please help us by contributing one!

EmitFlags EMIT_FLAG_ROTATION_SCALE = 2

There is currently no description for this enum. Please help us by contributing one!

EmitFlags EMIT_FLAG_VELOCITY = 4

There is currently no description for this enum. Please help us by contributing one!

EmitFlags EMIT_FLAG_COLOR = 8

There is currently no description for this enum. Please help us by contributing one!

EmitFlags EMIT_FLAG_CUSTOM = 16

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

int amount = 8

  • void set_amount ( int value )

  • int get_amount ( )

There is currently no description for this property. Please help us by contributing one!


float amount_ratio = 1.0

  • void set_amount_ratio ( float value )

  • float get_amount_ratio ( )

There is currently no description for this property. Please help us by contributing one!


float collision_base_size = 1.0

  • void set_collision_base_size ( float value )

  • float get_collision_base_size ( )

There is currently no description for this property. Please help us by contributing one!


DrawOrder draw_order = 1

There is currently no description for this property. Please help us by contributing one!


bool emitting = true

  • void set_emitting ( bool value )

  • bool is_emitting ( )

There is currently no description for this property. Please help us by contributing one!


float explosiveness = 0.0

  • void set_explosiveness_ratio ( float value )

  • float get_explosiveness_ratio ( )

There is currently no description for this property. Please help us by contributing one!


int fixed_fps = 30

  • void set_fixed_fps ( int value )

  • int get_fixed_fps ( )

There is currently no description for this property. Please help us by contributing one!


bool fract_delta = true

  • void set_fractional_delta ( bool value )

  • bool get_fractional_delta ( )

There is currently no description for this property. Please help us by contributing one!


float interp_to_end = 0.0

  • void set_interp_to_end ( float value )

  • float get_interp_to_end ( )

There is currently no description for this property. Please help us by contributing one!


bool interpolate = true

  • void set_interpolate ( bool value )

  • bool get_interpolate ( )

There is currently no description for this property. Please help us by contributing one!


float lifetime = 1.0

  • void set_lifetime ( float value )

  • float get_lifetime ( )

There is currently no description for this property. Please help us by contributing one!


bool local_coords = false

  • void set_use_local_coordinates ( bool value )

  • bool get_use_local_coordinates ( )

There is currently no description for this property. Please help us by contributing one!


bool one_shot = false

  • void set_one_shot ( bool value )

  • bool get_one_shot ( )

There is currently no description for this property. Please help us by contributing one!


float preprocess = 0.0

  • void set_pre_process_time ( float value )

  • float get_pre_process_time ( )

There is currently no description for this property. Please help us by contributing one!


Material process_material

  • void set_process_material ( Material value )

  • Material get_process_material ( )

There is currently no description for this property. Please help us by contributing one!


float randomness = 0.0

  • void set_randomness_ratio ( float value )

  • float get_randomness_ratio ( )

There is currently no description for this property. Please help us by contributing one!


float speed_scale = 1.0

  • void set_speed_scale ( float value )

  • float get_speed_scale ( )

There is currently no description for this property. Please help us by contributing one!


NodePath sub_emitter = NodePath("")

There is currently no description for this property. Please help us by contributing one!


Texture2D texture

There is currently no description for this property. Please help us by contributing one!


bool trail_enabled = false

  • void set_trail_enabled ( bool value )

  • bool is_trail_enabled ( )

There is currently no description for this property. Please help us by contributing one!


float trail_lifetime = 0.3

  • void set_trail_lifetime ( float value )

  • float get_trail_lifetime ( )

There is currently no description for this property. Please help us by contributing one!


int trail_section_subdivisions = 4

  • void set_trail_section_subdivisions ( int value )

  • int get_trail_section_subdivisions ( )

There is currently no description for this property. Please help us by contributing one!


int trail_sections = 8

  • void set_trail_sections ( int value )

  • int get_trail_sections ( )

There is currently no description for this property. Please help us by contributing one!


Rect2 visibility_rect = Rect2(-100, -100, 200, 200)

  • void set_visibility_rect ( Rect2 value )

  • Rect2 get_visibility_rect ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

Rect2 capture_rect ( ) const

There is currently no description for this method. Please help us by contributing one!


void convert_from_particles ( Node particles )

There is currently no description for this method. Please help us by contributing one!


void emit_particle ( Transform2D xform, Vector2 velocity, Color color, Color custom, int flags )

There is currently no description for this method. Please help us by contributing one!


void restart ( )

There is currently no description for this method. Please help us by contributing one!