forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_particles2d
reduz edited this page Apr 10, 2014
·
9 revisions
####Inherits: Node2D ####Category: Core
- void set_emitting ( bool active )
- bool is_emitting ( ) const
- void set_amount ( int amount )
- int get_amount ( ) const
- void set_lifetime ( float lifetime )
- float get_lifetime ( ) const
- void set_time_scale ( float time_scale )
- float get_time_scale ( ) const
- void set_pre_process_time ( float time )
- float get_pre_process_time ( ) const
- void set_emit_timeout ( float value )
- float get_emit_timeout ( ) const
- void set_param ( int param, float value )
- float get_param ( int param ) const
- void set_randomness ( int param, float value )
- float get_randomness ( int param ) const
- void set_texture ( Object texture )
- Texture get_texture ( ) const
- void set_emissor_offset ( Vector2 offset )
- Vector2 get_emissor_offset ( ) const
- void set_flip_h ( bool enable )
- bool is_flipped_h ( ) const
- void set_flip_v ( bool enable )
- bool is_flipped_v ( ) const
- void set_emission_half_extents ( Vector2 extents )
- Vector2 get_emission_half_extents ( ) const
- void set_color_phases ( int phases )
- int get_color_phases ( ) const
- void set_color_phase_color ( int phase, Color color )
- Color get_color_phase_color ( int phase ) const
- void set_color_phase_pos ( int phase, float pos )
- float get_color_phase_pos ( int phase ) const
- void pre_process ( float time )
- void set_use_local_space ( bool enable )
- bool is_using_local_space ( ) const
- void set_initial_velocity ( Vector2 velocity )
- Vector2 get_initial_velocity ( ) const
- void set_explosiveness ( float amount )
- float get_explosiveness ( ) const
- void set_emission_points ( Vector2Array points )
- Vector2Array get_emission_points ( ) const
- PARAM_DIRECTION = 0
- PARAM_SPREAD = 1
- PARAM_LINEAR_VELOCITY = 2
- PARAM_SPIN_VELOCITY = 3
- PARAM_GRAVITY_DIRECTION = 5
- PARAM_GRAVITY_STRENGTH = 6
- PARAM_RADIAL_ACCEL = 7
- PARAM_TANGENTIAL_ACCEL = 8
- PARAM_INITIAL_SIZE = 10
- PARAM_FINAL_SIZE = 11
- PARAM_HUE_VARIATION = 12
- PARAM_MAX = 13
- MAX_COLOR_PHASES = 4