ParticlesMaterial

Inherits: Material < Resource < Reference < Object

Category: Core

Brief Description

Member Functions

Color get_color ( ) const
Texture get_color_ramp ( ) const
Vector3 get_emission_box_extents ( ) const
Texture get_emission_color_texture ( ) const
Texture get_emission_normal_texture ( ) const
int get_emission_point_count ( ) const
Texture get_emission_point_texture ( ) const
int get_emission_shape ( ) const
float get_emission_sphere_radius ( ) const
bool get_flag ( int flag ) const
float get_flatness ( ) const
Vector3 get_gravity ( ) const
float get_param ( int param ) const
float get_param_randomness ( int param ) const
Texture get_param_texture ( int param ) const
float get_spread ( ) const
GradientTexture get_trail_color_modifier ( ) const
int get_trail_divisor ( ) const
CurveTexture get_trail_size_modifier ( ) const
void set_color ( Color color )
void set_color_ramp ( Texture ramp )
void set_emission_box_extents ( Vector3 extents )
void set_emission_color_texture ( Texture texture )
void set_emission_normal_texture ( Texture texture )
void set_emission_point_count ( int point_count )
void set_emission_point_texture ( Texture texture )
void set_emission_shape ( int shape )
void set_emission_sphere_radius ( float radius )
void set_flag ( int flag, bool enable )
void set_flatness ( float amount )
void set_gravity ( Vector3 accel_vec )
void set_param ( int param, float value )
void set_param_randomness ( int param, float randomness )
void set_param_texture ( int param, Texture texture )
void set_spread ( float degrees )
void set_trail_color_modifier ( GradientTexture texture )
void set_trail_divisor ( int divisor )
void set_trail_size_modifier ( CurveTexture texture )

Member Variables

Numeric Constants

  • PARAM_INITIAL_LINEAR_VELOCITY = 0
  • PARAM_ANGULAR_VELOCITY = 1
  • PARAM_ORBIT_VELOCITY = 2
  • PARAM_LINEAR_ACCEL = 3
  • PARAM_RADIAL_ACCEL = 4
  • PARAM_TANGENTIAL_ACCEL = 5
  • PARAM_DAMPING = 6
  • PARAM_ANGLE = 7
  • PARAM_SCALE = 8
  • PARAM_HUE_VARIATION = 9
  • PARAM_ANIM_SPEED = 10
  • PARAM_ANIM_OFFSET = 11
  • PARAM_MAX = 12
  • FLAG_ALIGN_Y_TO_VELOCITY = 0
  • FLAG_ROTATE_Y = 1
  • FLAG_MAX = 4
  • EMISSION_SHAPE_POINT = 0
  • EMISSION_SHAPE_SPHERE = 1
  • EMISSION_SHAPE_BOX = 2
  • EMISSION_SHAPE_POINTS = 3
  • EMISSION_SHAPE_DIRECTED_POINTS = 4

Member Function Description

  • Color get_color ( ) const
  • Vector3 get_emission_box_extents ( ) const
  • Texture get_emission_color_texture ( ) const
  • Texture get_emission_normal_texture ( ) const
  • int get_emission_point_count ( ) const
  • Texture get_emission_point_texture ( ) const
  • int get_emission_shape ( ) const
  • float get_emission_sphere_radius ( ) const
  • float get_flatness ( ) const
  • float get_param_randomness ( int param ) const
  • float get_spread ( ) const
  • int get_trail_divisor ( ) const
  • void set_color ( Color color )
  • void set_color_ramp ( Texture ramp )
  • void set_emission_box_extents ( Vector3 extents )
  • void set_emission_color_texture ( Texture texture )
  • void set_emission_normal_texture ( Texture texture )
  • void set_emission_point_count ( int point_count )
  • void set_emission_point_texture ( Texture texture )
  • void set_emission_shape ( int shape )
  • void set_emission_sphere_radius ( float radius )
  • void set_flag ( int flag, bool enable )
  • void set_flatness ( float amount )
  • void set_gravity ( Vector3 accel_vec )
  • void set_param ( int param, float value )
  • void set_param_randomness ( int param, float randomness )
  • void set_param_texture ( int param, Texture texture )
  • void set_spread ( float degrees )
  • void set_trail_divisor ( int divisor )